Your first picture shows the 3TB internal hard drive as well as a SanDisk SSD. Your second picture with the command line shows the SSD is 128GB, but it does not show the SSD as properly partitioned & formatted so I suspect you have a broken Fusion Drive setup. The command line also shows some odd partition layouts on the hard drive which includes 16MB Microsoft partition.
This first thing I would do is verify the health of the internal hard drive by running the Apple Diagnostics. If you can boot into the full macOS (either internally or externally), then you can run DriveDx to check the health of the hard drive (post the DriveDx report here using the "Additional Text" icon which looks like a piece of paper). Usually a "Warning" or "Failing" notice indicates a worn out hard drive or a physically failing hard drive. Both conditions mean the hard drive should no longer be used.
You should make sure you have a good backup while you can still access the data on the hard drive since you will need to reset the Fusion Drive which will destroy all data on both the SSD and the hard drive.
How to fix a split Fusion Drive - Apple Support
You should always have frequent and regular backups of your computer and all external media which contains important & unique data.