The formula below gives the sum of the degrees, S, of the interior angles of a polygon. If n represents the number of sides, which equation solves for n?

S = (n-2) x 180

F. n = s/180 + 2
G. n = 180s + 2
H. n = s+2/180
J. n = (s+2) x 180