Here is my Scratch project that draws two sample tangrams and the compound figures from this assignment (using Pro-Bots) created for grade 5 students.
I have created 5 different procedures for drawing the 5 components of the tangram. Please note that this is just one way of coding the figures; there are multiple correct ways of writing the programs for the same.
The functions (procedures) that are used for drawing the various polygons in the tangram can be found under the blocks titled:
The functions (procedures) for the compound figures that use the square and the triangle can be found under the blocks titled:
The functions (procedures) for the compound figures using the parallelogram and the small triangles can be found under the blocks titled:
I have given the code for two tangrams here as samples: one is the Monk with No Foot from the famous "Two Monks Paradox" and the other is a tangram for a House. The functions (procedures) for these can be found under the blocks titled:
Note: The various dimensions in the assignment for Pro-Bot have been multiplied by a factor of 10 in my Scratch project, as we are dealing with pixels here and not centimeters, as in the case of Pro-Bot.