I take it that the actual total is 538. If it really is 538538 leave me a note.
Let the first number = x
Let the second # = 44x
Let the third # = 100x
Equation
x + 44x + 100x = 538 Add the left side. All terms are part of the total.
145x = 538 Div By 145
x = 538/145
x = 3.71
Check
First number = 3.71
Second # = 44*3.71 = 163.24
Third number = 100*3.71 = 371
Total these 3 numbers 537.95 The very tiny difference is due to rounding.
Let x = original price in dollars
x is the original price
9% of this original price is equal to 0.09x
subtract: x - 0.09x = 0.91x
The discount price is equal to 0.91x and it's equal to 90 dollars, so they must be the same value. Ie.
0.91x = 90
0.91x/0.91 = 90/0.91
x = 98.9010989
x = 98.90
So the original price is $<span>98.90</span>
Captain has $30 money
Flame has $20 +$5 =$25
difference =30-25=5
Captain has $5 more money