The equation a(x+2)+b(x+2)=60 has a common factor of x+2 on the left side. Thus, we can re-write the equation as (a+b)(x+2)=60. When a+b=12, we obtain 12⋅(x+2)=60 and so x+2=5 which gives x=3.
Source: Omni-MATH,
licensed Apache-2.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.