Two college friends rent an apartment. They have to pay the landlord two months rent and a $500 security deposit when they sign the lease. The total amount they pay the landlord is $2,800. What is the rent for one month?