A tour group split into two groups when waiting in line for food at a fast food counter. The first group bought 7 slices of pizza and 4 soft drinks for $34.07. The second group bought 6 slices of pizza and 4 soft drinks for $30.14. How much does one slice of pizza cost?