case class Person(name:String,age:Int)
val p1 = Person("Maria",18)
def h(x:Person) = x match{
case y if y.age >17 => "Adult"
case z if z.age <=17 => "Younger"
}
Why in the cases it refers to the age with y or z if the parameter containing the values is x?