Answer :
//I'll let x = $5, y = $10
x + y = 13
5x + 10y = 90
So, y = 13 - x
5x + 10(13 - x) = 90
5x + 130 - 10x = 90
-5x = -40
x = 8
x + y = 13
5x + 10y = 90
So, y = 13 - x
5x + 10(13 - x) = 90
5x + 130 - 10x = 90
-5x = -40
x = 8