The Matrix Equation $AXB + CXD = E$

Canonical representation of a singular pencil given in Gantmacher [1] and a theorem of Kucera [3] for a special case are used to solve the matrix equation $AXB + CXD = E$.