Like what kinds? Finding out the type of angle? The degree?
Rays are named according to their endpoints, the first one named is the "starting" endpoint, the second one is the one that will continue on into infinity. Therefore, ray BA has a terminal endpoint at B and goes through point A into infinity. Ray AB has a terminal endpoint at A and goes through point B into infinity. Definitely NOT the same ray.
Depends are you finding x or other variables