How To Find The Base Of A Triangle On A Grid