tan30 = sin 30 / cos 30 = 1/2 / (sqrt(3)/2) = 1 / sqrt 3
tan30 = opposite / adjacent
1/sqrt 3 = 7 /x
x = 7 / (( 1/sqrt3)) = 7 sqrt 3