I’m really having trouble on this, can anyone help?

Answer:
the first box is proportional but the second is not
thus; y is (4/3)x for the first illustration