Solution 1:

The first noun in the [noun] of [noun] unit is treated as any other noun as regards modifiers, so (barring special cases such as idioms) wherever you would say the [noun1], you can also say the [noun1] of [noun2], etc.

As a corollary, it is also correct to use [noun1] of [noun2] without a the, especially if the wouldn't normally appear before [noun1] alone. Examples:

I drink a cup of coffee every morning.

Strength of will is important in a leader.