5. (a) If

show that

5. (b) Two numbers are in the ratio

and if 7 be subtracted from each the remainders are in the ratio

Find the numbers.