the price of 10 chairs is equal to that of 4 tables . the price of 15 chairs and 2 tables together is rs . 4000 . the total price of 12 chairs and 3 tables is ?
let the cost of a chair and that of a table be rs . x and rs . y respectively . then , 10 x = 4 y or y = 5 x . 2 15 x + 2 y = 4000 15 x + 2 x 5 x = 4000 2 20 x = 4000 x = 200 . so , y = 5 x 200 = 500 . 2 hence , the cost of 12 chairs and 3 tables = 12 x + 3 y = rs . ( 2400 + 1500 ) = rs . 3900 . a )
add(multiply(divide(4000, add(multiply(15, divide(4, 10)), 2)), 3), multiply(multiply(divide(4, 10), divide(4000, add(multiply(15, divide(4, 10)), 2))), 12))