How To Set Two Different Rectangle With Direction

Hi All,

I want to set two different size & location of rectangle.
First Rectangle get right Top corner point then offset of point is 2, that point is Starting point of Second Rectangle Left Top corner point.(see image)

Thank You