I am surprised that they are teaching you 'ли' so soon!

You use formal for people you don't know, business and such, teachers. But I am sure your teacher has told you this, no?