The first position is drawn although white has the better chances.  Black has a weak pawn on g3 and also the bishop could become superior to the knight if the position opens up, since there are pawns on both sides of the board.  In addition to this, black has to be careful that white king does not invade the queenside, via d5.

In the second position, black has an extra pawn.  To win, black needs to find a way of advancing this pawn.