The number to go in the box are 6,4. The resulting equation is 2(6 -5x) +4(4x -1) = 2(3x +4).
You want to know the values of 'a' and 'b' that make the equation true:
2(a -5x) +b(4x -1) = 2(3x +4)
Simplify
Simplifying the equation gives us ...
2a -10x +4bx -b = 6x +8
(-10 +4b)x +(2a -b) = 6x +8
Matching coefficients
Making the coefficients of x match, we have ...
-10 +4b = 6
4b = 16 . . . . . . . add 10
b = 4 . . . . . . . . . divide by 4
Making the constants match, we have ...
2a -b = 8
2a = 8 +4 . . . . add b and substitute its value
a = 6 . . . . . . . . divide by 2
The numbers 6 and 4 go in the first and second boxes, respectively. The resulting equation is 2(6 -5x) +4(4x -1) = 2(3x +4)