Let x be the money Peter has invested in the 9% rate account, and y be the money in the 11% account, then we can set the following system of equations:
Substituting the first equation in the second one we get:
Solving for x we get:
Substituting x=365 in the first equation we get:
Answer: Peter has $365 invested in the 9% account and $765 in the other one.