Geometry homework, I understood 5 and 6 but I'm kinda lost on 7 and 8. Can someone please explain them to me?

[tex]\bf \underset{\leftarrow \qquad 3x - 31\qquad \to }{\boxed{A}\stackrel{x+6}{\rule[0.35em]{10em}{0.25pt}} B\stackrel{x + 6}{\rule[0.35em]{10em}{0.25pt}}\boxed{C}} \\\\\\ (x+6)+(x+6) = 3x - 31\implies 2x+12=3x-31 \\\\\\ 12=x-31\implies 43=x \\\\[-0.35em] ~\dotfill\\\\ AB\implies BC\implies x+6\implies 43+6\implies 49 \\\\\\ AC\implies AB+BC\implies 49+49\implies 98[/tex]