james earned a total of $900 last week. This total was $10 less than five times the amount he earned last week. How much money did James earn last week?