Using "of" twice like this is OK, but yours isn't a very good example. I would say "decrease in contamination of the environment" (or "decrease in environmental contamination"). Random better examples: "evidence of the impact of spending cuts" "the end of a decade of change"
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.