Let $G$ be a graph on vertices $v_1, v_2, . . . , v_n$ such that $v_iv_j$ is an edge iff $0 < |i − j| ≤ 3$. Prove that $G$ is planar having $3n − 6$ edges.
Please get me started. Any help will be appreciated. Thanks. I know there will be $3n - 6$ edges, but I couldn't do the planar part.

First compute the edge count. What is the degree of $v_i?$ It depends on $i.$ As for showing the graph is planar, draw pictures for small $n,$ and see if you can generalize what they look like.