Answer
Find out the how many years was the money in the account .
To prove
Formula

As given
Gloria deposited $500 into a bank account that earned 7.5% simple interest each year.
She earned $225 in interest before closing the account.
Put all the values in the formula



Time = 6 years
Therefore in 6 years was the money in the account .