You are working on points in a 2D space. You have a triangle with the points (0,0),(2,1),(1,2). Now the question is: Give the following transformations as matrices and use these on the triangle:
1. Translation along (1,3) followed by a rotation along the z-axis by 45 degrees.
2. Scaling by 50% followed by a transformation of (2,1).
Here is my attempt but got stuck at the beginning.
The first one; a translation of (1,3) will give the points of the triangle as (1,3);(3,4);(2,5) now rotation along the z-axis, is that not a 3D space?