Problema Solution
You are designing a magazine layout for next month’s cover. You want to show two photos across its width. The cover is 8.5 inch's wide, and the left and right margins are each .75 inch's. The space between the photos is .5 inch’s. How wide should you make your photos
Answer provided by our tutors
Let 'x' be the width of the first photo and 'y' the width of the second photo.
Then we have
left margin + x + 5 inch + y + right margin = the width of the cover
left margin = right margin = 0.75 inch
the width of the cover = 8.5
Or if we put the numbers
0.75 + x + 5 + y + 0.75 = 8.5
x + y + 0.75 + 0.75 + 5 = 8.5
x + y + 6.5 = 8.5
x + y = 8.5 - 6.5
x + y = 2
If x = y that is the two photos have same width
x + x = 2
2x = 2
x = 2/2
x = 1 inch
Each photo should be 1 inch wide.
If x <> y that is the photos have different width
x + y = 2
y = 2 - x
And also x and y should satisfy the condition: the width must be non-negative
x >0 and y>0
And from 2-x > 0 we get
x < 2 and y < 2
Now we can say that if the first photo is x inches wide where 0<x<2 then the second should be y = 2 - x inches wide, where 0 < y < 2.