William opened two investment accounts. The first​ year, these​ investments, which totaled ​$1800​, yielded ​$105 in simple interest. Part of the money was invested at 6.5​% and the rest at 5​%. How much was invested at each​ rate?