As you can see, A and G can form base pairs with U. The most common pairing is with A, and this is what is found in the process of transcription, but G often forms base pairs with U in RNA molecules (See the DNA 2 module for descriptions of RNA and transcription).
Remember, the one-ring bases are too small to form base pairs with each other.