The first puzzle:
Notice that black's king could be vulnerable to back rank mate, due to the shield of pawns. Also, white's rook on e1 is pointing directly at that back rank. So, White plays
2. Qf3!
Black, apparently not being a very smart opponent, captures the queen.
2... Bxf3??
3. Rxe8#
As for the second puzzle, I'm not sure. The analysis seems to randomly say White is positionally winning by 5 points.
Hope this helps.
Edit - Actually, I was looking at the analysis for the second puzzle a little bit more, and apparently
2. Kxf2??
Leads to make in 12. That seems like a very difficult puzzle, to have to spot a mate in 12!
I encountered some puzzles recently that i couldnt figure out, even after seeing the solution i did not understand them. Maybe someone can explain the solution to me?
https://www.chess.com/puzzles/problem/32187
https://www.chess.com/puzzles/problem/1000568