Calculate the value of x in the following figure:
write each of the following as an equation in two variables:
1. x= -5
2. 3x+5=0
3. 5y=2