Mr. Cooper ordered a swimming pool for his whole family to enjoy from Walmart. The pool cost $40, and shipping was $10.50. What would the total cost be if you applied your 7% state sales tax before the cost of shipping.