31x + 8y = 180

You have had several examples of these types of equations worked out for you. You should be able to do them yourself now.