Answer:
n = 30
Step-by-step explanation:
Given that y varies directly as x then the equation relating them is
y = kx ← k is the constant of variation
To find k use the condition y = 180 when x = n, then
180 = kn ( divide both sides by n )
k = 
y =
x ← equation of variation
y = n when x = 5, thus
n =
× 5 =
( multiply both sides by n )
n² = 900 ( take the square root of both sides )
n =
= 30