I spent way too much time on this and I have no idea on how todo it. Please hurry 😛

There was a similar question answered here:https://www.chegg.com/homework-help/questions-and-answers/problem-given-rectangular-grid-3-types-pieces-shown-object-stretch-place-pieces-grid-form–q34567476