Write a system of equations to solve each word problem.

You deposit a total of $900 in two different accounts. One account provides an interest rate of 5% while the other account provides an interest rate of 8%. If you earned a total of $64.50 in interest between the two accounts, how much did you deposit in each account?

x+y = 900

.05x + .08y = 64.50