It’s a little hard to explain so I’ll start with a screenshot of my node-setup:

As you can see I have the X and Y positions of two tracking markers…what I’m trying to do is use these values to find the change in rotation between the two tracking points(or the change in rotation of my camera when filming). I’m assuming you’d use the math nodes to combine them, but I have no clue which operation to use plus if I should check the “clamp” check box or not.

The outputting value will be applied to a still image(this image also has the location from one of the tackers applied to it as well).

Any and all help would be greatly appreciated!