TeX source:
W=2(q_1/varphi_1+q_2/varphi_2)