How does one get this idea [for the proof of S…

How does one get this idea [for the proof of Sylvester’s Theorem]? The answer is: I don’t know! It is like asking: How did Michelangelo do this?