I don't know how to do this math

7n + 2 = 4n + 17

7n + 2 = 4n + 17

Isolate the variable (n) on the left, and all the constants to the right:
7n-4n = 17-2
3n = 15
Divide by the coefficient of the variable on both sides:
3n/3 = 15/3
n = 5