You would use atan or asin or acos

for example fatan(adjacent,opposite) would give you tha angle of x in a right triangle