The corrected equations:
$$\begin{array}{l}X_1 = 1 + \color{grey}{\frac{0}{2} +}\frac{X_3}{2}\\ X_2 = 1+\frac{X_1}{2}+\frac{X_3}{2}\\X_3=1+\frac{X_2}{2}+\frac{X_3}{2}\end{array}$$
Solving this gives $X_3 = 14$
To explain these, $X_i$ represents here for us the expected number of remaining tosses required in order to win the game. Winning the game here is having three consecutive heads in a row. So, for example $X_3$ represents the total number of additional tosses needed to win the game given that we have flipped no heads in a row so far (either because we are just starting, or because we most recently flipped a tail). Meanwhile, $X_1$ represents the total number of additional tosses needed to win the game given that we currently have two consecutive heads in a row and we need only one more to win.
Notice for $X_1$, we used $X_3$ on the right hand side, not $X_1$. If we only need one more head to win, i.e. if we have flipped two heads in a row currently... then if we flip a head then no more flips are necessary. If we were to have flipped a tail however, then we have to start back at the beginning, needing three heads in a row again. You might have been thinking that the problem was asking for something like "find the expected number of flips until having gotten a third head total (with any number of tails interspersed between)" which is different than having gotten three consecutive heads.
So, for $X_1$, we flip the coin (that is the "$1+$" part of the expression). Had we successfully flipped a head, (which occurs with probability $\frac{1}{2}$) then we require $0$ more flips. We are done. Had we flipped a tail however (which also occurs with probability $\frac{1}{2}$), then we need $X_3$ many more flips.
If we were in the situation that we need two more heads to win, i.e. that we have one head in a row currently, then we flip the coin (that is the "$1+$" in the expression). If we get a head (which occurs with probability $\frac{1}{2}$) then we still need $X_1$ many more flips to win. If we got a tail however we need $X_3$ many flips more to win.