Solve for w.
w2+4w–12=0
Write each solution as an integer, proper fraction, or improper fraction in simplest form. If there are multiple solutions, separate them with commas.