The given equation is expressed as
8z - 7 = 3z - 7 + 5z
The first step is to collect like terms. All terms containing z would be on the left hand side of the equation. The constants would be on the right. It becomes
8z - 3z - 5z = - 7 + 7
8z - 8z = 0
0 = 0