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

As given
Bonita deposited $1300 into a bank account that earned 5.75% simple interest each year.
She earned $299 in interest before closing the account
Thus
Principle = $1300
rate = 5.75%
Simple interest = $299
Let us assume that time be t .
put all the values in the formula

simplify the above equation
29900 = 7475t

t = 4 years .
Therefore 4 years was the money in the account .