EXPLANATION
Given that Gloria's Bank Account earned $2,400 in 5 years, we can assevere the following relationship for Simple Interest:

Where P=Principal r=rate=0.05 t=time=5 years
As the Amount is the sum of the Earns plus the Principal, we can replace the terms as follows:

Subtracting P to both sides:

Taking P as a common factor:

Dividing both sides by rt:

Switching sides:

Replacing terms:

Simplifying:

In conclusion, the amount deposited was $9,600