Option B: 4.0 cm is the value of w
Explanation:
It is given that
,
,
and 
Using the law of sines, we have,

Substituting the values, we have,

Cross multiplying, we get,

Simplifying, we have,

Dividing both sides by 0.515, we have,

Thus, the value of w is 4.0 cm
Hence, Option B is the correct answer.