solution of triangle jee