if using prefab trusses, your truss manufacturer will advise you on what is reqd.. why not use 2x rafters, im assuming that the 24' dimension is running parallel with the exist. barn. if so this should work fine provided that the exist. barn can handle the additional load.