This was not a good week for the major corporations of the world. Volkswagen‘s diesel scandal has all but erased its bottom line, Uber paid big to settle a pair of class-action lawsuits, Apple threw a bunch of money at a patent troll to make it go away (but only for three years) and, the FBI spent over a million dollars opening the San Bernardino iPhone. Here’s who paid what and why, by the numbers.