Set them equal to each other because they are parallel
3x+7=5x-17
Subtract 3x from both sides
7=2x-17
Add 17 on both sides
24=2x
Divide by 2 on both sides
12=x