title: Matrix Transformations and Texture mapping coordinates confusion (Beginner)
body: <p>I was doing some questions on matrix transformations and texture mapping and I came across two questions for which I dont know how to get the answer. The answer is highlighted with red colour.
  (These can be implemented in C++ but before I do it I just wanted to familiarize myself with transformations first)</p>
  
  <p>For matrix transformation shouldnt it have <code>-1</code> (top right of the matrix) for the translation instead of <code>0</code>
  <img src="https://i.stack.imgur.com/ukTH7.jpg" alt="enter image description here"></p>
  
  <p><strong>EDIT: STILL NEED AN ANSWER TO THE SECOND QUESTION</strong>
  My second query is that I am not sure how they got the <code>y coordinate for point D</code></p>
  
  <p><img src="https://i.stack.imgur.com/o4LEx.jpg" alt="enter image description here"></p>