So then it is to be assumed that the driveshaft centerline and engine centerline are on the same centerline, that all three shafts are on the same axis? It should be that the engine/trans axis and pinion axis are parallel, but not necessarily in exact line with each other on the same axis.
In fact, in highway service the three shafts should not be in exactly the same axis as this will not cause the needle rollers in the U-joint cups to roll, in which case they will wear divots in the cups. When the in and out shafts are parallel but offset, like driveshafts are in all highway applications, the needles will move in the cups as the U-joint trunnion oscillates.
The angles of input U-Joint and output U-Joint must be the same because if they are not the pinion rotation will not be the same as the engine, because the U-joint angle causes the driven shaft to speed up a quarter of a turn and slow down the next so every 180 degrees it is in time, but every 90 it will be out of time.
When the input angle and output angle are the same, the drive shaft rotation oscillates between in and out but the identical angles cancel out the difference so the pinion rotation does not oscillate, it turns the same 360 degree velocity as the engine/transmission output shaft.
I guess in a race car it might be more efficient in terms of power in to power out of the driveshaft to not have any U-joint angle.
If the engine and pinion are not parallel, so one U-joint runs at an angle and the other is not the same angle to cancel, something is going to quiver like a dog trying to shit a peach seed.