Those phrases have been called prepositional phrases, and have been called compound prepositions. Far is usually an adjective, specifying a distance. Case is usually a noun, meaning a set of circumstances.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.