Quarterly compounding means n=4 periods a year, so divide the rate and multiply the time.
nr=40.08=0.02,nt=4⋅6=24
Now apply the model with those values.
A=1500(1.02)24≈1500(1.60844)≈2412.66
Compounding once a year instead would give 1500(1.08)6≈2380.31 dollars, which is less.