The square of a certain integer plus three times itself equals 18. Find the integer

n^2 + 3n = 18

n^2 + 3n - 18 = 0

so, what are two factors of 18 that differ by 3?