![\text{Patrick is 23 years old}](https://img.qammunity.org/2023/formulas/mathematics/college/gr27y3je5d9jiap7uurk3q4hxabdh91wja.png)
We start by assigning variables to represent their ages
Let Lisa's age be represented by l and Patrick's age be represented by p
First part of the question states that the sum of their ages is 38
Mathematically;
![l\text{ + p = 38 }\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots(i_{})](https://img.qammunity.org/2023/formulas/mathematics/college/u0o8rg3ga52c0tjp59ybey3jc97wq9izal.png)
The difference of their ages is 8, and since Patrick is older, we have the equation as;
![\begin{gathered} p\text{ - l = 8} \\ \\ \text{This means} \\ \\ p-8\text{ = l }\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots..(ii) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/j56hval6icjq9o48xul38l3tqilt247dv7.png)
Now substitute equation ii into i; we have
![\begin{gathered} p\text{ - 8 + p = 38} \\ \\ 2p\text{ - 8 = 38} \\ \\ 2p\text{ = 38 + 8} \\ \\ 2p\text{ = 46} \\ \\ p\text{ = }(46)/(2) \\ \\ p\text{ = 23} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/f45qpk2rhk0jxlufordj9pl8jcpel5kse1.png)