find the value of x. m is the perpendicular bisected of AB

Given
Procedure
In geometry, bisection is the division of something into two equal or congruent parts, usually by a line, which is then called a bisector.
[tex]\begin{gathered} 22=x+6 \\ 22-6=x \\ 16=x \end{gathered}[/tex]the answer is x=16