A lesson describes two methods: (1) qualified jurists agree on a Shariah ruling under the required conditions; (2) a source-established ruling is extended to a new case because both share the legally relevant cause. Which pair names them in order?

Usul al-Fiqh: Need, Subject and Purpose