Three consecutive integers have a sum of 30. Which equation can be used to find x, the value of the smallest of the three numbers?