C2W2 Assignment Help

Hello, I am trying to complete the C2W2 assignment. Since I am new to coding I am getting stuck in the Transform Section. The assignment requires us to perform some transformations and it will be really helpful if you could help me with the code for the ones I have not been able to complete in the image below. I really appreciate your help and your time.

Hello @csaraogi
Welcome to the community!!!
Posting code in this discussion forum is strictly against community guidelines. Kindly delete your code, instead, you can post the complete error trace so that mentors and fellow learners can help you