6400 in the ratio 3:5

8 parts, of which 3 parts is one, five parts is another

6400/8, so each part is 800
3*800:5*800 or
2400:4000