Math
posted by Arshia .
If the larger of two numbers is divided by the smaller, the quotient and the remainder are 2 each. If 5 times the smaller number is divided by the larger, the quotient and the remainder are still 2 each. find the two numbers.

let x be smaller, y be larger
y = 2x+2
5x = 2y+2
2x + y = 2
5x  2y = 2
x = 6
y = 14