Question: is le or te formal?
Answer: Assuming that te and le (usted) are both meaning "you" then the only difference is whether you are speaking informally or formally. In general, your examples, might be correct, but realize that there are regional usages.