There aren't general formulae for problems like this. You just have to think about them. Do you know how to find a percentage of a quantity?
Now there are general formulae for some of the specific quantities that may arise in problems. For example, the general formula for the average of a set of quantities is just: