How to create variables from pose vector components

Thanks for the reply Michael! I tried using your techinque but I am still running into issues.

I just posted here with the larger problem that I am dealing with on this program:

Cheers!