Sales tax percentage = 5% = 5/100 = 0.05 (decimal form)
Sales tax amount = $400
Multiply the selling price of the boat (x) by the sales tax percentage in decimal form. That expression must be equal to 400.
0.05x = 400
Solve for x:
x = 400/ 0.05
x= $8,000