the ratio of john's age to Mike's age is 7:4. In 10 years time Mike will be as old as John was 5 years ago. How old is John now?

j/m = 7/4

m+10 = j-5

Now just solve for j