David had 80 dollars from washing cars
He did the following with his money

He put 50% of the $80 in his savings account

He paid 25% of the remaining for money he had borrowed

He bought a brand new guitar with the rest of the money

How much did the guitar cost?