Finding values of theta using trig ratios