Counting weekends as leave

Hello everyone,
Our leave policy gives the weekend free if he/she works at least one day of the week. We cannot get the leave days correct by either calendar days or workdays. Anyway around this issue ?

Can anyone help please?