In the case of the first agent this would be 8 hours per day, so 40 hours weekly.
In the second case it should be taken into account only the scheduled working hours, so weekly it would be 31 hours (because one day is marked as Holiday and there is one hour of Absence-paid).