1
If you use a latex older than 2020-04-21 you get
wrapfig documents that the paragraph containig the wrapping text should not start in a group that ends before the cutout finishes. Otherwise wrapfig "forgets" where it is and re-starts the cutout.
Your example is like
{x} Draw an equilateral tria...