if k is the midpoint of CT , CK =3x+23,and KT =5x+7,then find x and CT

Given:
CK = 3x + 23
KT = 5x + 7
If K is the midpoint of CT, then CK = KT. Then,
[tex]3x+23=5x+7[/tex]Finding x:
Subtracting 3x from both sides:
[tex]\begin{gathered} 3x+23-3x=5x+7-3x \\ 23=2x+7 \end{gathered}[/tex]Subtracting 7 from both sides:
[tex]\begin{gathered} 23-7=2x+7-7 \\ 16=2x \end{gathered}[/tex]And dividing both sides by 2:
[tex]\begin{gathered} \frac{16}{2}=\frac{2x}{2} \\ 8=x \end{gathered}[/tex]x = 8.
Finding CT:
K is the midpoint of CT, then CT = CK + KT
[tex]\begin{gathered} CT=3x+23+5x+7 \\ CT=3*8+23+5*8+7 \\ CT=24+23+40+7 \\ CT=94 \end{gathered}[/tex]CT = 94.
Answer:
x = 8
CT = 94