It's just a math equation.
If you mean where m=17 then the answer is 3 because 17-5 is 12 and 12/4 is 3.
Notice the first two vertices are reverse from each other (a,0) to (0,a)
the fourth vertex would be the reverse of the third one.
The fourth vertex would be (2a, a)