If we do not pay for the loyalty card, then our charges for p photos will be
[tex]0.35p[/tex]If we do pay for the loyalty card, then the cost of p photos will be
[tex]0.2p+6[/tex]If we want the cost of the two plans the same then the above expressions must be equal; therefore, we have
[tex]\textcolor{#FF7968}{0.2p+6=0.35p}[/tex]Now we solve for p by subtracting 0.2p from both sides
[tex]0.2p+6-0.2p=0.35p-0.2p[/tex][tex]\rightarrow6=0.15p[/tex][tex]\textcolor{#FF7968}{\therefore p=40.}[/tex]Hence, you need to print 40 photos in order to make the price of the two plans the same.