Let the amount invested at 5/2% ==P
Then, the amount invested at 2% ==9,000 - P
5/2 ==2.5%
0.025P + 0.02 * [9,000 - P] ==215, solve for P
0.025P + 180 - 0.02P ==215
0.025P - 0.02P ==215 - 180
0.005P ==35
P ==35 / 0.005 ==$7,000 - invested at 5/2%
9,000 - 7,000 ==$2,000 - inested at 2%