write a required script to print out parallelograms of stars 1

The question is attached in the file Linux homework, and the print out result should match the screen shot IMG_1821.jpeg.