Can someone please simplify the following 2 lines of code.

Even if it were a "higher level of coding" my advice would be to initially use coding that you understand even if you think it looks ponderous. The rule should be "get it working then improve it"

There is no such thing as a silly question. If you don't understand something then just ask, as you did.