How do you write 1 is to 2 as 5 is to x as a proportion in fractional notation?

A. 2/1=5/x
B. 1/2=5/x
C. 1 : 3 ::5:x
D. 1 : 2 = 5 : x

B. 1/2=5/x