A prize is divided into the ratio 5:3 if the difference between the shares is £42 what is the total price?

Ty for helping :)