Why? sda2 has plenty of space, it appears? Your swap partition is probably excessive. You could delete it, and create a /swapfile (assuming later versions of Ubuntu) on sda4, edit /etc/fstab, then move sda4, then use Windows Disk Management app to move sda3 and extend sda2.
– heynnemaMar 15 '20 at 20:26
@heynnema I need to create a +50Gb VM on sda2. Maybe I can do what you say with the swap partition, but how can I move the unallocated space from not contiguos sdaX?
– ScTALEMar 16 '20 at 09:58
You only have about 70GB of unused space so a 50GB VM will make things tight. However it can be done, just use a live CD/USB and GParted for the Linux partitions and as @heynnema says Microsoft Disk Management for the Windows partitions. It’s not unusual to get a very small bit of unallocated space even when you specify using all the space available. I guess this is due to block alignment but I don’t know for sure. You only have 1MB unallocated though.
– PonJarMar 16 '20 at 10:25