Finding value of angle using geometric reasoning