Given : perpendicular distance of line from origin is 5 units.
Normal makes an angle of 30∘ with the positive x-axis.
Normal form of equation of line is xcosω+ysinω=p
Here p=5 and ω=30∘
⇒xcos30∘+ysin 30∘=5
⇒x⋅√32+y⋅12=5
⇒√3x+y2=5
⇒√3x+y=10
Thus, equation of line is √3x+y=10