ASAP!!
Is 5x - 7= 18 and 7x + 5=40 both equivalent, and what’s the value of x?

Answer: 5
Step-by-step explanation:
1. 5x - 7 = 15
5x = 25
x = 5
2. 7x + 5 = 40
7x = 35
x = 5