Daniel B. answered 09/25/21
A retired computer professional to teach math, physics
The answer to this question depends on the direction of the force.
I have the impression that you are to assume that the force acts in the direction of pushing both blocks. In that case it is pushing an object of combined mass, and the resulting acceleration will be
77 / (12 + 18) m/s2