5x ÷ x² - 9 + 7 ÷ x + 3
Write the division as a fraction:
- 9 +
+ 3
Simplify the expression:
- 9 +
+ 3
Calculate the sum:
- 6 + 
Write all numerators above the common denominator:

Add the numbers and you get the final answer:

1/3 with a line over the answer ( 0.66666666666...)
The answer is 25
1/5 of 45 is 9, so you have 36 tickets
then half of 36 is 18
then you add the 7 tickets Danny won
18+7=25