find the value of y using the type of proportion indicated

1. y:8 = 16:4
2. 24:y = 12:22​