This is a tough area of German grammar. This exercise will give you some practice. It might even help you to start seeing patterns, too.