<h2><u>Required</u><u> </u><u>Answer:-</u><u> </u></h2>
Let's assume the no. of chocolate pastry bought = x
and the no: of fruit pastry bought = y
➣ Cost of 1 chocolate pastry = Rs 26
➣ Cost of x chocolate pastry = Rs 26x
➣ Similarly, cost of fruit pastry = Rs 18 y
➣ It is given that the total cost = Rs 500
Therefore, Rs 26x + Rs 18 y = Rs 500
If we assume x = 4 and y = 22 , then
26 x 4 + 18 X 22 = Rs 500
104 + 396 = 500
⇝ No. of chocolate pastries bought = 4 ✔
⇝ No. of fruit pastries bought = 22 ✔
<u>And</u><u> </u><u>we're</u><u> </u><u>all</u><u> </u><u>done</u>! :D