Let's say first that duration of plan A is a, and duration for plan B is b.
We can now establish 2 equations. One for Wednesday and one for Thursday.
On Wednesday, frank trained clients for a total of 7 hours, being 3 clients with plan A, and 8 with plan B. Then:
![3\cdot a+8\cdot b=7](https://img.qammunity.org/2023/formulas/mathematics/college/sp3sbcsborje2a96tpfhfdg16ew970katw.png)
On Thursday, frank trained clients for 6 hours, being 5 clients with plan A, and 2 clients with plan B. Then:
![5\cdot a+2\cdot b=6](https://img.qammunity.org/2023/formulas/mathematics/college/eq030ysj9xdd14jfo4anmdw5nmjqh2pr33.png)
Now we have a system of 2 equations and 2 unknowns:
![\begin{gathered} 3a+8b=7 \\ 5a+2b=6 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/vzhzu0kh2b8i291b03zzxrb2ena76t3vew.png)
It will be easy to solve the system by reduction method. We can eliminate terms 8b and 2b mmultiplying the second equation by -4:
![\begin{gathered} -4\cdot(5a+2b)=-4\cdot6 \\ -20a-8b=-24 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/tgevi6ij5zmtad21pda4idgosipgn4i9ow.png)
Now, the system is:
![\begin{gathered} 3a+8b=7 \\ -20a-8b=-24 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ens5dgj2gpj0sdri8chqhj6ulv69ew90x7.png)
Combining two equations (adding them), we have:
![\begin{gathered} (3-20)a+(8-8)b=7-24 \\ -17a+0b=-17 \\ -17a=-17 \\ a=(-17)/(-17) \\ a=1 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ot4nj9gaxnao5u913db5ywv21ltilxfc6w.png)
Now, we know that plan A lasts 1 hour.
We can use any equation to solve for b, knowing that a = 1.
![\begin{gathered} 5a+2b=6 \\ 5\cdot(1)+2b=6 \\ 5+2b=6 \\ 2b=6-5 \\ 2b=1 \\ b=(1)/(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9rnz0pqvqzj96wurrc6ccvw625rrjes8fg.png)
Now, we know plan B lasts half an hour (1/2 hour).