Digi tacho easy explanation

Apparently (and please correct me if this isn’t accurate) when I first started using a tacho, I was taking a 30 min break then a 15min in my 4.5 hrs and it recorded that I had only taken a 30 min break.

I was told I have to take a 15 then a 30 not the other way round for it to record a 45 min break in 4.5 driving time. Due to this I got an infraction saying I had driven a 5.46 hour with no break, which wasn’t correct at all.

So, if this is accurate, something else to remember.