Most of the later model Ryobi trimmers have a certain fuel line setup, but in the last few years, the newer ones could have been produced by totally different mfgrs.
So to be of any help at all, we will need all numbers off of every inch of the unit, where you bought it, pics would help too.