Cupcakes cost 45p each. Cookies cost 30p each. The total cost of x x\,x cupcakes and y y\,y cookies is KKK.
Write a formula for the total cost of x x\,x cupcakes and y y\,y cookies.