Quadrilateral [tex]ABCD[/tex] is inscribed in a circle, and the lines [tex]AB[/tex] and [tex]CD[/tex] meet at a point [tex]M[/tex] beyond [tex]A[/tex] and [tex]D[/tex]. If [tex]AD=2[/tex], [tex]MD=4[/tex], [tex]MC=9[/tex] and [tex]AM=3[/tex], find [tex]AB[/tex] and [tex]BC[/tex].
