Let the line be: $\frac{y-1}{x-3} = m$
or, $mx -y + (1-3m) = 0$
Distance of this line from the origin is : $d_0 = \frac{|1-3m|}{\sqrt{m^2+1}}$
$ and $(0,10)$, which are the values of $A$ and $B$ (in no particular order).
It follows that the area of $∆OAB$ is $\frac{50}{3}$.
**NOTE** : The function attains _global maxima_ at $m = -3$, i.e., the maximum possible value for $d_0$ is $\sqrt{10}$. The part of the above plot beyond $m = \frac{1}{3}$ belongs to the function $\frac{3m-1}{\sqrt{m^2+1}}$. Although this function is monotonically increasing for $m > \frac{1}{3}$, it never crosses $\sqrt{10}$.
As, $\lim_{x\to\infty} \frac{3m-1}{\sqrt{m^2+1}} = 3 < \sqrt{10}$.