Xiaoming wants to frame a painting to attend the exhibition of Chinese painting for teenagers. The length of the drawing paper is x cm and the width is y cm. The frame to be installed around is 2cm wi

Xiaoming wants to frame a painting to attend the exhibition of Chinese painting for teenagers. The length of the drawing paper is x cm and the width is y cm. The frame to be installed around is 2cm wide. Your framed calligraphy and painting is the kind of calligraphy and painting with embroidered silk all around and a frame behind it. Known as "painting" or "mirror center", there are two kinds of horizontal and vertical.

The upper and lower edges of the horizontal wire are the same size, and the two rows are wider than the upper and lower edges of the wire.

You give "the vertical width is 4cm" and the width of the upper and lower sides is set to Acm, so the perimeter of the horizontal graph is:

2(Xcm+2×4cm+2×2cm+Ycm+2×Acm+2×2cm)= 2Xcm+2 Ycm+4 Acm+32cm

The two vertical silk edges are the same, and the zenith is slightly larger than the field.

You give "the vertical width is 4cm", and the widths of the upper and lower sides are set to Acm and Bcm respectively, so the circumference of the vertical width is:

2(Ycm+2×4cm+2×2cm+Xcm+Acm+Bcm+2×2cm)= 2x cm+2 Ycm+2 Acm+2 Bcm+32cm