$6300 is​ invested, part of it at 10​% and part of it at 9​%. For a certain​ year, the total yield is ​$598.00. How much was invested at each​ rate?