Two boys divide a profit of $36 in the ratio of 5:3. How much does each boy get?

x/y = 5/3

5y/3 + y = 36

SOlve for y and then x.