Solution
5x = 40
3x - 5 =7
8x -12 = 4
20x = 40
6x = 18