Solve each quadratic expression by factoring.

x² - 7x - 18= 0

p² - 5p - 14= 0

Please explain the concept so I can understand how to do this! Thank you! :)