You can
put this solution on YOUR website!This is a future value of an oridinary annuity problem.
The formula is

where
FV is the future value (what you're looking for)
PMT is the payment made during the period ($250)
n is the total number of periods (40 years)
i is the period interest rate (6% per year)

The future value would be $38690.49.