doughnuts are being sold in bags and cartons
A bag holds 4 doughnuts and a carton holds 10 doughnuts
Tom buys B bags of doughnuts and C cartons of doughnuts
He buys a total of T doughnuts
Write down a formula for T in terms of B and C