For countries that don't face a flat 10% tariff, the Trump administration's recent levies follow a basic formula—and one that ...