The cost of hat, pants, and sweater is $225. The pant cost $10 more than hat, and the sweater cost $10 more than the pants. What is the cost of the hat ?