A line is related to a surface as a point to a plane. In geometry, a point has no dimensions and defines a location in space, while a plane is a two-dimensional surface that extends infinitely in all directions. Similarly, a line is a one-dimensional figure that extends infinitely in two opposite directions, while a surface is a two-dimensional figure that extends infinitely in all directions.
Three dimensional space.
A line
A hyperbola.
plane
There are infinitely many 3-dimensional shapes with a pentagon as its base.
It's a plane.
Congruent line segments
There are two two-dimensional figure with an infinite length. They are rays, and lines.
A 2-dimensional figure. A 2-dimensional figure. A 2-dimensional figure. A 2-dimensional figure.
A square based pyramid, a square based prism, and any one of infinitely many other 3-dimensional shapes.A square based pyramid, a square based prism, and any one of infinitely many other 3-dimensional shapes.A square based pyramid, a square based prism, and any one of infinitely many other 3-dimensional shapes.A square based pyramid, a square based prism, and any one of infinitely many other 3-dimensional shapes.
There are infinitely many different plane figures that can be made up of 2-dimensional shapes - provided that they are all in the same plane. There cannot be any 3-dimensional shapes involved.