Jin spent $149 + $19 = $168
Stefan spent $x
The total cost for Jin is 140% of what Stefan spent originally, that is,
x*1.4 = 168 (to get the 140% of x, you have to multiply it by 1.4)
x = 168/1.4
x = 120
Stefan originally spent $120
Stefan makes $168 - $120 = $48