Juan have to print 9 photos.
<u><em>Explanation</em></u>
Suppose, Juan have to print
number of photos.
First photo shop charges $0.36 per print. So, the total cost to print
number of photos in this shop
dollar.
Second photo shop charges $2.52 plus $0.08 per print. So, the total cost for printing
number of photos 
As, the cost of printing is the same at both shops, so.....

So, Juan have to print 9 photos.