Driveshaft compatibility questions

It may not be only length, but u joint size.