Given:
The equation is:

To find:
The constant of proportionality.
Solution:
If y is directly proportional to x, then

...(i)
Where, k is the constant of proportionality.
We have,

On cross multiplication, we get

Divide both sides by 2.

Interchange the sides.
...(ii)
On comparing (i) and (ii), we get

The constant of proportionality is
. Therefore, the correct option is B.