Remember that you can use sine, cosine, and tangent to manage angles. Each corner of your rectangle is an (x,y) point relative to the origin (or center) of your rectangle.
Theta is the angle at the center of your rectangle. Find the angle when the rectangle is not rotated, then add the rotation (25 degrees -- don't forget to convert to radians) to the angle, then go back and calculate the new (x,y) position of the corner.