Hi dennoi,
I'm Rodrigo and I will help you.
On Disk Management, you can only extend partitions that are next to each other.
You will need a third-party tool to move the 625MB portion to the end of the disk and extend the C: partition.
I recommend you use AOMEI Partition Assitant, its free version will allow you to do this.
https://www.diskpart.com/download-home.html
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
I created a similar drive structure to help you how to do that.
After installing the AOMEI partition assistant, open it and you you see this screen with all your drives.
Right-click the 625 MB partition and select Resize/Move partition and drag the partition to the end of the disk (be careful to not resize it).
Now the unallocated space will be next to the C: partition, right-click the C: partition and select Resize/Move partition and resize it to fill the whole space.
After this process, select Apply on the top left corner to apply the changes, it will probably request to restart the computer to apply the changes.
After the restart, you should see the drive without the unallocated space on Disk Management