Answer:
You should solve it using system. because we have two unknown values here.
the first equation should be
8y + 17 = 180
the second
17 + 7x = 180