The price of a shirt is RM35. while the cost of a pair of trousers is RM45. A discount of 15% is given on the price of a shirt, while a discount of 10% is given on the price of a pair of trousers. Write the formula for the total expenditure, z. if Syamsul wants to buy x shirts and y trousers.