Sentence

さっきからあの人一人でにやにやして。怪しい。

さっきからあの(ひと)(いち)(にん)でにやにやして。(あや)しい。
That person has had an odd grin on his face for a while. What do you suppose is behind it?
Sentence

なにニヤニヤしてるんだよ。何かいいことあったのか。

なにニヤニヤしてるんだよ。(なに)かいいことあったのか。
What are you smirking at? Did something good happen?