Hint : look at the vectors (0,5) and (3,4) in the (x,y) plane. What is the angle between them? That's the angle you're looking for; then just find the corresponding rotation matrix.
Another way to do this: Any "rotation" matrix in the plane is of the form
with .
gives you two equations to solve for a and b. Since the lengths of the two vectors, <0, 5> and <3, 5> are the same, will automatically be satisfied.