If the vertices of the triangle are
(a, b), (c, d), and (e, f)
We want to dilate it by scale factor r
Multiply each coordinate of the points by r
The image of the point (a, b) is (ar, br)
The image of the point (c, d) is (cr, dr)
The image of point (e, f) is (er, fr)