Solve Algebra Questions Online

Algebra question… I don’t understand how to solve it!?
So we got assigned this problem… I don’t get it at all. And yes, I know that I shouldn’t be asking online about hw, but none of my friends or parents understand it and i have to have it solved. so please, help? Here’s the problem:
A man is placing rabbits into cages. He notices that if he places four rabbits in each cage, he has 2 rabbits left over, and if he places 6 in each cage, he has 3 cages left over. How many cages and how many rabbits does the man have?
Is there more than one solution? How do I solve the problem? Don’t straight out give me the solution, just help me to solve it.
Thanks!
let’s say that:
x = number of rabbits
y = number of cages
1st sentence:
4y=x-2
(4 rabbits times the number of cages is the number of all rabbits minus 2, because two rabbits left over…)
2nd sentence:
x=6(y-3)
(number of all rabbits = 6 rabbits per cage (but not all of them, three are unused, so we have 6(y-3)
and now you have the system of two equations with two uknowns:
4y=x-2
x=6(y-3)
try doing it yourself, my solution is: y=10, x=42
cheers!!!
Lesson 106a: Intro to Algebra (Part 2)

