Thanks for the explanation. I find it very helpful.
latter means, last one mentioned, and former means, first one mentioned. For example,
Are shoes and socks all you need? If you don't have the latter (i.e., socks), you can borrow some from me. If you don't have the former (i.e., shoes), you'll have to ask someone else.