Having problems installing and enabling Guest Additions on my VM

I tried

using both the sudo apt install linux-headers-$(uname -r) build-essential dkms and sudo apt-get install build-essential commands but I keep getting error messages Please see attached image for more details.