UH...you cannot run 3" vent to a dryer, only to a water heater.
All dryers must have 4" duct. There's your issue.
BTW, when calculating vent runs, add 5 feet for every 90 degree elbow. Therefore you have approximately 28+ feet of duct the dryer must force air thru.