Block matrix/Diagonal/Eigenvalues/Exercise

Let be a square matrix, which can be written as a block matrix

with square matrices and . Show that a number is an eigenvalue of if and only if is an eigenvalue of or of .