Christina spent a quarter of her savings on piano lessons. She then babysat for $10 per hour and babysat for a total of 20 hours. She deposited that money in her account. After paying for piano lessons, Christina still had $300 in her savings account. How much did she have in her savings account to begin with?

(1-1/4)x + 10*20 = 300

Solve for x.