Step-by-step explanation
Since we have the expression:

Factoring 7x + 42:


Factor out common term 7:


Factor x^2+13x+42:
Breaking the expression into groups:

Factor out x from x^2+6x:

Factor out 7 from 7x + 42:

Factor out common term x+6:


The final expression is as follows:
