Tim's bank contains quarters, dimes, and nickels. He has three more dimes than quarters and 6 fewer nickels than quarters. If he has 63 coins, write and solve an equation to find how many quarters Tim has.