1)Let's use a variable x to represent the amount of money, Luis had before he had invested $200:
x,
Since it is unknown to us. X stands for the money previous to Luis' deposit.
2) To write an equation for that is to simply express it, that way:
x +200 =4,477
3) Evaluating for x,
Subtracting 200 from both sides we'll have:
x+200-200=4,477-200
x=4277
So, the amount of money prior to the deposit is $4277.