a bakery sold 10 more cakes this month than it did the last month. It also sold 3 times as many cakes in this month than in the month before the last month. If that total number of cakes it sold in the last 3 months is 116, how many cakes did it sell last month?​