From the following figure,

Solution