Step-by-step explanation:
so, he needs a much good fabric as the sum of the lengths of the perimeter and the 2 diagonals.
the perimeter (the sum of all 4 sides) = 4×3 = 12 in.
a single diagonal is calculated via Pythagoras (because a square has only 90° angles, a diagonal splits the square into 2 right-angled triangles, with the diagonal being the Hypotenuse) :
c² = a² + b²
c being the Hypotenuse (the side opposite of the 90° angle), a and b are the legs (enclosing the 90° angle).
so, in our case we have
diagonal² = 3² + 3² = 9 + 9 = 18
diagonal = sqrt(18) = 4.242640687... in
both diagonals are equally long, of course.
so both diagonals are
4.242640687... × 2 = 8.485281374... in
together with the perimeter Miguel needs therefore
12 + 8.485281374... = 20.48528137... in
but he can buy the gold fabric only in rolls of 9 in.
how many rolls does he need to buy to cover
20.48528137... in ?
20.48528137... / 9 = 2.276142375... rolls
now, as he cannot buy only a part of such roll, we need to round up to the next whole number : 3
Miguel needs to buy 3 rolls of gold fabric.