The golden rule is to keep a safe distance when driving behind such trucks, so you have enough space and time to react. It’s best to overtake them with full power. This may eat the range of an EV, but you don’t want to be alongside one truck when another truck is bearing down on you from the opposite direction.