Solve each of the following in equations and represent the solution set on the number line. 5x + 2 < 17, where (i) x ϵ Z, (ii) x ϵ R.