The answer process is as follows:
There are x children, and the equation according to the meaning of the question is as follows:
5x+20=7x-4
2x=24
X= 12 (piece)
Candy: 5x 12+20 = 80 (pieces)
A: There are 12 children, divided into 80 pieces of sugar.
Extended data
The solution of one-dimensional linear equation;
1, denominator: both sides of the equation are multiplied by the least common multiple of each denominator; ?
2. Remove the brackets: first remove the brackets, then remove the brackets, and finally remove the braces;
3. Move the term: move all the terms containing unknowns to one side of the equation, and all the other terms to the other side of the equation; ?
4. Merge similar terms: transform the equation into ax = b (a ≠ 0);
5. Coefficient division 1: divide the unknown coefficient a on both sides of the equation to get the solution of the equation.