title: How to calculate the size of a given number of rectangles that cover a larger area
body: <p>I am working a project where we have a set area (1000 x 1300) area.
  I need the mathematical equation that I can enter a integer and have it broken into equal shapes.</p>
  
  <p>So if I need to break up this area up into 170 "bricks" the equation should tell me that each brick needs to be 100px x 60 px  (this is just example)</p>