How do you solve the following system: 5x+8y=29,8x7y=39?