Xavier and Yolanda have a combined aged of 24. 6 years ago Xavier was 3x as old as Yolanda. Can you help with the equation and the working out please.

Use the same method I used for the similar questionn posted by "Gayle".