Deus ex machina is the plot device of using something very improbable to resolve a situation.
its 60-10+x why, because she bought the dress with $60 and she received $10 dollars back. We don't know the variable.
48/40 = 1 8/40
1 8/40 Simplify to 1 1/5
Hope this helps!