John buys 5 shirts and 3 trousers from a garment store at $900. In the following week, when the store offers a discount of 10% on the same brand of the shirt and a discount of 25% on the same brand of the trouser, Jacob buys 5 shirts and 2 trousers for $630. Find the price at which john buys a trouser.