A trapezoid has side lengths $2$, $4$, $6$, and $10$. The sum of all its possible areas can be written as $r_1\sqrt{n_1}+r_2\sqrt{n_2}+r_3$, where $r_1,r_2,r_3$ are rational and $n_1,n_2$ are squarefree positive integers. What is the greatest integer less than or equal to $r_1+r_2+r_3+n_1+n_2$?