how do I make this into an algebraic equation for the following word problem?

Michael received $300 for his birthday this year. This was $40 less than half the amount he received last year. how much did Michael receive for his birthday last year?