Use the FOIL method
42m^2 + 30m + 49m + 35
Collect like terms
42m^2 + (30m + 49m) + 35
Simplify
42m^2 + 79m + 35