It is given in the question that
Arshad's father bought x sweets, (44 - x) were eaten by the children and 20 were left.
It is given that the total sweets are x .
So the equation is
![44-x+20 = x](https://img.qammunity.org/2019/formulas/mathematics/middle-school/gfcze7bvj8hw0uatzf7s6n5y8c9v4813rq.png)
Combining like terms, we will get
![64 - x = x](https://img.qammunity.org/2019/formulas/mathematics/middle-school/3owxdoul41yk6gothvjnooo27ib7cyhkdh.png)
Adding x to both sides
![64 = 2x](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ga4jl01reswa4gzyv7p5290o9bl5m0klyf.png)
Dividing both sides by 2
![x = 32](https://img.qammunity.org/2019/formulas/mathematics/middle-school/c3c0c7uyanq4zuzqb8z30pl1l1ncevlj25.png)
THerefore Arshad's father bought 32 sweets .