With the truck facing right the offset of the turret to the truck is (-13,-8).
Then you can set the position with
turret.x = truck.x -13*cos(360/72*truck.animationFrame)
turret.y = truck.y -8 -13*ratio*sin(360/72*truck.animationFrame)
Now "ratio" is the ratio from the visual height to the visual width of a isometric square. Depending on the angle of the isometric projection the ratio will be different. I was expecting 0.5, which is 26.5 for degree, but that didn't look right. So I measured the roof of the truck at 0 and 90 degrees. It was 8 pixels wide at 0 degrees and 22 pixels at 90, so the ratio is 8/22 or 0.36, so the angle is 20 degrees.
So you could write it like this:
turret.x = truck.x -13*cos(360/72*truck.animationFrame)
turret.y = truck.y -8 -13*tan(20)*sin(360/72*truck.animationFrame)