1. Solving a congruence equation.

You can solve this since $5$ is invertible $\pmod {26}$ . The following is done using arithmetic $\pmod {26}$ :
$5x+8=22\Longrightarrow 5x=14\Longrightarrow x=\frac{14}{5}=14\cdot 21=294=8$