Equation: (rent x months rented)+ security deposit:
$900x + $600 = total money for pay
The equation essentially works out the total amount of money to be spent on the apartment by summing the months rented by the rent amount and adding that to the security deposit which is fixed.