A point $M$ is chosen randomly within a triangle $ABC$ whose sides are equal. The area of the triangle is 1. Find the expected value of the area of triangle $ABM$.
I have one possible way to solve this problem as following: graph the triangle $ABC$, set the $x$-coordinate of $M$ and express its $y$-coordinate . Then set up the double integral to find the expected value, but I feel like it's a tedious way and there must be a more elegant way to solve it.
HINT.
Area is proportional to the distance $x$ of point $M$ from base $AB$. If $h$ is the height of triangle $ABC$ with respect to $AB$ then it is quite obvious that the expected value of $x$ is $$ \langle x\rangle = {1\over3}h. $$
Notice that the result holds for any triangle, not necessarily equilateral.