Please reason step by step, and put your final answer within \boxed{}.
Tom has a job mowing lawns around his neighborhood. He charges differently based on the size of the property: $12 for small properties, $15 for medium properties, and $20 for large properties. Last month, he mowed a total of 5 properties: 2 small properties, 2 medium properties, and 1 large property. Each month he spends $20 on gas for lawn mowing and $10 for other maintenance costs.

In addition to his lawn mowing job, Tom also does some additional chores for his neighbors to earn extra money. Last month, he completed 5 side tasks, each paying $10, which include pulling weeds, trimming hedges, and raking leaves.

How much profit did Tom earn last month, after deducting all his expenses from his total earnings?
user