Automatically calculate concentric squares
Given a square where ux1,uy1 = the upper left hand corner, and lx1,ly1 = the lower left corner, and given a second square which lies with in the first square, where ux2,uy2 = the upper left corner of the second square and lx2,ly2 = the lower left corner of the second square, how can a calculate the concentric squares where steps = the amount of concentric squares you want. See attached photo. I have tried the slope formula and the distance formula but can not figure out how to do it. The resulting answer would tell me how much to increase the ux1,uy1 and decrease lx1,ly1 to draw the next concentric square until you reach ux2,uy2 and lx2,ly2. Thank you very much.