A worker is paid x dollars an hour for the first 8 hours he works in a day. For every hour after the first 8 hours, he is paid y dollars an hour. If he works 16 hours in one day, what is his average hourly wage for that day?