We first attempt to tile the rectangle using b-by-b square tiles; however, this leaves an r0-by-b residual rectangle untiled, where r0 < b. We then attempt to tile the residual rectangle with r0-by-r0 square tiles.
Kapertama iraga nyoba ngaryanin ubin persegi panjang nganggén ubin persegi b-by-b; nanging, ngecagang sisan persegi panjang r0-by-b, taler r0 < b. Raris iraga nyoba masang sisan persegi panjang sareng ubin persegi r0-by-r0.