Solve for the value of N

1/3:N=1/2:40/N

1/3:N=1/2:40/N

1/(3N) = N/80
3n^2 = 80
n^2 = 80/3
N = √(80/3) = appr 5.164