title: Math problem with coordinates, how would I calculate a certain coordinate?
body: <p>I am building a system for FiveM, by using LUA.
  For that system I need a specific coordinate.</p>
  <p><a href="https://i.stack.imgur.com/de6kj.jpg" rel="nofollow noreferrer">Vehicle System ingame</a></p>
  <p><a href="https://i.stack.imgur.com/h3tZ6.png" rel="nofollow noreferrer">The drawing of coordinates</a></p>
  <p>I know coordinates A, B, C, D, E, P.
  But now I want to know point G.</p>
  <p>How would I do that with math, and how would I do that in LUA ?</p>