Uninstall other Ubuntu Versions

Last year my system went on the blink.
I fiddled around and ended up installing ubuntu gnome desktops.

Now I would like to remove all those ubuntu versions but don’t know how?

Is this possible?