# Spiders and ants

Pro Problems > Math > Algebra > Equations > Systems of Equations > Word Problems## Spiders and ants

In my house there are both ants and spiders. Together there are 240 legs. If there were half as many spiders, and twice as many ants, there would be 336 legs. How many ants do I have in my house?

## Solution

In order to make it feasible for teachers to use these problems in their classwork, no solutions are publicly visible, so students cannot simply look up the answers. If you would like to view the solutions to these problems, you must have a Virtual Classroom subscription.## Similar Problems

### Pairs of Consecutives

The sum of two pairs of consecutive integers is 100. the difference between the largest and the smallest of these four integers is 9 less than the average of the four integers.

Find all four integers.

### Henry's Books

Henry has five books. The third book has 100 fewer pages than the first and second books combined. The fourth book has 50 pages more than twice the number of pages in the first book. The last book has 150 fewer pages than three times the second book. In all, his books have 748 pages. Together, his first and second books have 216 pages. How many pages does his largest book have?

### Handshakes

Mr. T wants each of his math students to shake hands with each of his other math students exactly once. He also wants each of his math students to shake Mr. H's hand twice. Mr. T shakes Mr. H's hand once. If there were 78 handshakes in all, how many math students does Mr. T have?

### X to Y to Z

Y is three more than twice the square of X, and Z is the square of Y, decreased by twice Y. If four times the square of X is multiplied by 2 more than the square of X, and the result is subtracted from Z, what will the final result be?

### Difference and Sum

Two numbers add to twenty-seven more than the opposite of the smaller number. The numbers differ by three. What is the larger number?

### Difference System

The difference between two numbers is twice the smaller number. The smaller number is 10 less than the larger number. Find the smaller number.

### Math Textbooks for Sale

The cost of a textbook is directly proportional to the number of math problems it contains, and inversely proportional to the number of authors who wrote the book. A textbook which contains 200 problems, and was written by 3 authors costs $5 less than a textbook which contains 150 problems, and was written by 2 authors. What is the cost of a textbook containing 450 problems, and written by 4 authors?

### Sum of Two Fractions

### Triangle Perimeter

The shortest side of a triangle has length 16 inches. The perimeter of the triangle is nineteen less than three times the longest side.The remaining side is eight inches shorter than the longest side. What are the side lengths of the triangle?

### Coffee and Donuts

I went to a café and purchased a cup of coffee, and two donuts. I spent $2.66. Then I purchased two cups of coffee and one donuts for $3.10. How much does a cup of coffee cost?