Composite Submeasures and Supermeasures with Applications to Classical Inequalities