If (x, 5) is a solution to the equation 3x + 5y = -5, what is the value of x?