Thanks for writing in.
You only have one active license which is a Pro license since you upgraded your X license. But if your question is just installing X and Pro. You can download the X theme from your ThemeForest account and install it to your staging site manually. Please check this https://theme.co/apex/forum/t/setup-theme-installation/54. Try validating it with Pro license.
As for Production, the procedure is the same but you'll download the pro theme in your Apex's dashboard page. Then you'll need to validate it too with your Pro License.
You must apply production and staging URL to your license page before the validation.