The constellation that forms a W shape is Cassiopeia, but it's located opposite Polaris in the sky. To find Cassiopeia, imagine a line drawn from Polaris directly down towards the horizon. Cassiopeia will be roughly in the same general area.
Here's a breakdown of why there isn't a W-shaped constellation near Polaris:
* Polaris is the "North Star" and sits close to the North Celestial Pole. This means it appears relatively stationary in the sky, while other stars rotate around it.
* Constellations maintain their relative positions to each other. So, if Cassiopeia were near Polaris, it would always be near Polaris, not opposite it.
Let me know if you have any other stargazing questions!