Your right leg is rotated and abducted due to the muscular imbalances and weaknesses across that hip. This occurs due to your sitting habits where probably you were in the habit of sitting crossed using that leg or being tilted on that side while working (arm rest support, mouse use, gadget use). You are tall and into sedentary occupation. Thus prolonged sitting is the cause.
Next Steps
sit and work in an ergonomic environment and do the right exercises to correct the imbalances. can connect with me and we can do a teleconsultation.