If you're having trouble with the math, I would recommend working through this series of Khan Academy videos (with practice problems!): https://www.khanacademy.org/math/al...gebra/v/can-a-squirrel-avoid-getting-run-over
Once you really understand dimensional analysis, it doesn't matter whether you're converting miles/gallon, mg/kg, seconds/gtts, etc