Canon M50 Mk II EF-M 22mm f/2 ISO 1600 8 s × 30 lights + 50 darks
Final edited astrophotography image of a starry night sky including the Andromeda galaxy on the left and stars trailing off to black on the right.
The finished shot.
Frames

I took thirty 8 second exposures on a tripod, the light frames.

And fifty shots with the lens cap on, the dark frames for the stacking program to remove noise.

One exposure shot at f/2, 1600 ISO, for 8 sec. The starry night sky is grey tones with low contrast and hard to make out. Trees are near the bottom edges.
One exposure shot at f/2, 1600 ISO, for 8 sec.
Stacking

Then stacked them in Sequator.

Unedited stacked image. The starry night sky is darker grey tones with more stars, better detail, and the trees are blurry and glowing in the bottom corners.
Unedited stacked image.
Editing

The stacked image was edited in Darktable.

Before editing: unedited stacked image
After editing: darkened, denoised, stars enhanced
◀▶
Stacked Edited
Result

And finally cropped to roughly 16:9 aspect ratio.

Showing Andromeda on the left third, and trailing off to black on the right.

Final cropped image, showing off the andromeda galaxy and cutting out the blurry trees and showing off the starry sky fading to black sky on the right.
Final cropped image.