Last Friday night, Rich went to a tavern to buy pizza and bottles of beer. He noticed that four pieces of pizza and two bottles of beer cost the same as two pieces of pizza and eight bottles of beer. What is the cost, in bottles of beer, of a slice of pizza?