Relationship between hours and earnings