Marbury v. Madison established the precedent of judicial review and gave the Supreme Court the power to determine the "constitutionality" of legislation
McCulloch v. Maryland established that the Constitution grants to Congress implied powers (virtually unlimited in scope, as long as being used in useful furtherance of the express powers) under the necessary-and-proper clause.