Gregory’s age is 5 years greater than of Amanda’s age. Gregory is 17 years old. If Amanda’s age is denoted by x, which equation represents this situation and how old is Amanda?