We can create a system of equations to solve this problem,
We know that the father is three times as old as his daughter:
Let x be his age
Let y be her age
Then,
x=3y (1)
x+8=2(y+8)+4 (2)
![\begin{gathered} Substitute\text{ 1 in 2} \\ 3y+8=2(y+8)+4 \\ \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/hj75kw38wxpl4uhoo97ymkg2h6nlczppzd.png)
The answer would be 3x+8=2(x+8)+4, it's the same expression, just with and x.