The ys in both questions are isolated on one side of the equation in both. The numerical coefficient of both is 1. Therefore you should equate the the left side of each equation to the other left side. The solution is the easiest one to solve because there is only 1 unknown on both sides.