So,
I know that $\langle a\rangle$ = $aR$ and $\langle a,b\rangle$ = $aR + bR$ for any ring R.
I then multiplied each side by $\sqrt2$ and computed them.
These are the steps that I took:
$\langle3+8\sqrt2, 7\rangle$ = $\langle3+\sqrt2\rangle$
$(3+8\sqrt2)\sqrt2 + 7\sqrt2 = (3+\sqrt2)\sqrt2$
$3\sqrt2 + 16 + 7\sqrt2 = 3\sqrt2 + 2$
$16 + 10\sqrt2 = 2+3\sqrt2$
I'm not really sure where to go from here. Any help would be much appreciated.
Indeed, $3+\sqrt2= (1)\cdot(3+8\sqrt2)+(-\sqrt2)\cdot(7)$
Indeed, $$ \frac{3+8\sqrt2}{3+\sqrt2} = \frac{(3+8\sqrt2)(3-\sqrt2)}{(3+\sqrt2)(3-\sqrt2)} = \frac{-7+21\sqrt2}{7} = -1+3\sqrt2 $$ $$ \frac{7}{3+\sqrt2} = \frac{(7)(3-\sqrt2)}{(3+\sqrt2)(3-\sqrt2)} = \frac{(7)(3-\sqrt2)}{7} = 3-\sqrt2 $$