solve angle problem