The largest dimension of the enlarged photo will be: Width= 175 inches and Length= 245 inches.
Step-by-step explanation
Dimension of the original photo is 5×7 . That means the ratio of the width to the length is 5 : 7
So, lets assume the width is
and length is
for the enlarged photo.
Formula for the perimeter of a rectangle

As the perimeter of the enlarged photo should not exceed 840 inches, so...

That means the maximum value of
must be 35.
So, the largest possible width
inches
and the largest possible length
inches