The problem goes like this:
Suppose $A, B\in M_n(\mathbb{C})$ and $AB-BA=c(A-B)$ with nonzero $c\in \mathbb C$. Then $A, B$ are simultaneously triangularizable and those upper triangular matrices coincide on the main diagonal.
I've proved that the characteristic polynomials of $A$ and $B$ are identical (by using the identity $(xI-A)((x+c)I-B)=(xI-B)((x+c)I-A)$); however, I am stumped at constructing an invertible matrix $P$ such that $PAP^{-1}$ and $PBP^{-1}$ are both upper triangular.