Heather has divided ​$5700 between two​ investments, one paying 8​%, the other paying 7​%. if the return on her investment is ​$420, how much does she have in each​ investment?