You're likely thinking of
Ursa Major, also known as the
Great Bear. The seven brightest stars in Ursa Major form the shape of a
dipper, which can be visualized as a
W or a
M, depending on your perspective.
Let me know if you'd like to know more about Ursa Major!