LCM of 10, 15, 25 = 150When we drive 2641 by 150 the remainder is 91.But the remainder should be 7.So, the number to be subtracted from 2641 is 91 - 7 = 84.
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