Can you check this,please?

10−��^0+5(9−��)
Ans: 10-x^0+ 45-5x
= 10 - 1 + 45 - 5x
= 9 + 45 - 5x
= 54 - 5x

OR
10−��^0+5(9−��)
= 10 - x +45-5x
= 55-6x?

x^0 = 1 for any value except x=0

So, the first solution is correct