What is the number of edges (lines) for the following cubes?

1-cube (line):

2-cube (square):

3-cube (box):

4-cube (hypercube