Consider the matrix of the given transformation be T
Let be the transformation.
Assumebe the function.
Hence
Then, the transformation be as follows.
role="math" localid="1660309390137"
Similarly further simplification is as follows
Therefore the matrix be B as follows
Hence the solution.