Let the price of a pen be 'x' and that of pencil be 'y' Then 87x + 29y = 783Multiplying eqn (i) by 30/29 we get (87x) x 30/29 + (29y) 30/29 = 783 x 30/29∴ 90x + 30y = 810
Let the number be 10x + y.Therefore, x + y = 9 ..................(i)10x + y - (10y + x) = 4510x + y - 10y - x = 45Therefore, x - y = 5 ..................(ii)From (i) and (ii), x = 7, y = 2Number = 72Therefore, = x x y = 7 x 2 = 14