500 principal earning 4% compounded quarterly after 6 years
500(1 + .04/4)^(6*4) = $634.87
FV=$634.87 . This is the formula you use to calculate this:
FV=PV[1 + R]^N, Where R=Interest rate per period, N=number of periods, PV=Present value, FV=Future value.