Block matrix/Rank/Exercise

Let a block matrix of the form

be given. Show that the rank of equals the sum of the ranks of and of .