step 1: find two numbers that multiply to give ac ( in other words a x c ) and add to give b
step 2: rewrite the middle with those numbers
step 3: factor the first two and last two terms separately
step 4: if you’ve done this correctly, your two new terms should have a clearly visible common factor
and then you’re done! hope this helps!