To 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 $2800. What is the rent for one month?