Let p be the number of pages printed.
The expression for the price charged by the online scrapbooking company is:

And the expression for the price charged by the family friend is:

SInce both prices will be the same for a certain value of p, we'll get that

Solving for p :

This way, we can conclude that both prices will be the same for 6 pages.
This price would be:

$52