In a math class, the teacher assigns homework problems to the students. Each problem contains one variable, represented by $x$. The equation given to the students is:
$$2x + 5 = 17$$
What is the value of $x$?