Question: Last week Tom had 74 dollars. He washed cars over the weekend and now has 86 dollars. How much money did he make washing cars ?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(74+x-86)
print(answer)

Answer: 12