Text this: Generalized Sylvester equations