Duty time /hours question

i ve got a assesment on friday at 12.30(midday),im workin the night before(thu) and im working friday night…i will have had a full daily rest before the assesment(11hrs) and on friday night my shift will be 10 hours maximum startin approx 4.30pm and within this ten hour shift i will be lucky to accumalate 4 1/2 hrs drivin in total.
am i right to think to stay within the laws providing i dont do more than 15 hrs startin from 12.30 (midday) when i start my assesment and then finish my shift with my present company then i would be ok■■?
hope this makes sense

Sounds okay to me… Fifteen hours max between 12:30 and eh end of shift will avoid any problems and keep things tidy.