Total of affix lines=15 usable....1 is sockets
9 lines of damage.....2325x9=20925dmg
6 lines of % damage=240%
20925+240%=71,145 damage NOTICE ITS "+" 240% not "x" 240%
71145x5 aps= 355,725 damage per second
Where you put the damage and %damage are immaterial as long as you have the totals correct. (ie. 4 damage and 1 %damage on weapon, 5 damage and 2 %damage on legendary gem, and %dam on 2 regular gems.) Or whatever combination you want.
It can end up slightly higher than this as I didn't include the 100 base damage of the weapon or the 540 damage IF you use red gems.