Rob and Lori purchased a home for $350,000 with an additional $5,000 in related purchase costs and then added a garage at a cost of $25,000. They sold the home for $450,000 and paid $28,000 in selling costs. How much was adjusted basis?