Problem 1 Solution:
The best move is Nf4 which gives a double check that is actually mate.
Problem 2 Solution:
The best move is Re1+ which check the white king. White has to respond with Rg1 after which Rxg1 is checkmate.