Let Rex have z cars and Jagan have (30 – z) cars. Price of Jagan’s cars = Rs. y Price of Rex’s cars = Rs. x xz = y(30 – z) … (1) and x(30 – z) = 32 x =
32
(30−z)
... (2) zy = 24.5 y =
24.5
z
... (3) Putting the values of x and y in equation 1, we get
32
30−z
.z =
24.4
z
(30−z) On solving, we get z2 + 196z – 2940 = 0 Using quadratic formula, z = 14 or −210 ∴ z = 14 (neglecting negative value) ∴ Price of Rex’s cars = Rs. 2.0 lakh