How to write a query sum of Logintime and logout time of employee

second one