Given the line 12x + 9y = 36
the line intersects the x-axis when y = 0,
i.e. 12x = 36 ⇒ x = 3
Thus the x-intecept is (3, 0)
the line intersects the y-axis when x = 0,
i.e. 9y = 36 ⇒ y = 4
Thus, the y-intercept is (0, 4)
Thus, the coordinates of the vertices of the triangle are (0, 0), (0, 4) and (3, 0)
The midpoint of the side of the rectangle joining points (0, 0) and (0, 4) is (0, 2) and the equation of the median joining points (0, 2) and (3, 0) is given by

The midpoint of the side of the rectangle joining points (0, 0) and (3, 0) is (1.5, 0) and the equation of the median joining points (1.5, 0) and (0, 4) is given by

The point of intersetion of the two medians is given by

Therefore, the centroid of the given triangle is located at point
