If we do not pay for the loyalty card, then our charges for p photos will be
![0.35p](https://img.qammunity.org/2023/formulas/mathematics/college/n5zkpu8fmlvf0vw1wtxslftz3t087t0sj0.png)
If we do pay for the loyalty card, then the cost of p photos will be
![0.2p+6](https://img.qammunity.org/2023/formulas/mathematics/college/a3e0cdakmh1u5tjavxnz5mhypv9xsu21qx.png)
If we want the cost of the two plans the same then the above expressions must be equal; therefore, we have
![\textcolor{#FF7968}{0.2p+6=0.35p}](https://img.qammunity.org/2023/formulas/mathematics/college/ru45u8o5ry1i3eiq39cyhbk7pabrk3yfmj.png)
Now we solve for p by subtracting 0.2p from both sides
![0.2p+6-0.2p=0.35p-0.2p](https://img.qammunity.org/2023/formulas/mathematics/college/iuhnphloktexck9n9mpt55zp0h9vtjbuk7.png)
![\rightarrow6=0.15p](https://img.qammunity.org/2023/formulas/mathematics/college/q81yon5ddjzkxberzr7wh3eywt9zov27dm.png)
![\textcolor{#FF7968}{\therefore p=40.}](https://img.qammunity.org/2023/formulas/mathematics/college/i37ifugp9gjsfwitaxlbyz9zc52bpdfxsl.png)
Hence, you need to print 40 photos in order to make the price of the two plans the same.