mr ho baked some cookies for sale.in the morning.he sold1/4 of the cookies and gave away 9 cookies.in afternoon, he sold1/3 of the remaining cookies and gaveaway2 cookies.mr ho had 118 cookies left bu evening. a,howmany cookies did mr ho bake?

ChatGPT

1 answer

Let's denote the total number of cookies Mr. Ho baked as x.

In the morning, he sold 1/4 of the cookies, which means there were 3/4 of the cookies remaining. He also gave away 9 cookies, so he had 3/4x - 9 cookies left.

In the afternoon, he sold 1/3 of the remaining cookies, which means there were 2/3 of the cookies remaining. He also gave away 2 cookies, so he had 2/3(3/4x - 9) - 2 cookies left.

By evening, he had 118 cookies left, so we can write the equation:

2/3(3/4x - 9) - 2 = 118

Simplify the equation:

2/3(3x/4 - 9) - 2 = 118
2/3(3x/4 - 12/4) - 2 = 118
2/3(3x - 12)/4 - 2 = 118
(6/4)(3x - 12)/3 - 2 = 118
(3/2)(3x - 12)/3 - 2 = 118
(3/2)(x - 4) - 2 = 118
(3/2)x - 6 - 2 = 118
(3/2)x - 8 = 118
3x/2 = 126
3x = 252
x = 84

Therefore, Mr. Ho baked 84 cookies.