Let's set up the river so that you are crossing from left to right (the starting shore is the y axis) and the current is moving downwards. You know that the distance traveled in the time to cross will be such that dy/dx = vyt/vxt = vy/vx. We can find the angle of the actual velocity of the boat with respect to earth by taking the tan-1(dy/dx) = tan-1(118 m/285 m) = 22.49°.
We want to find vC so v = vB + vC where B=boat in still water, C=current and bold type mean vector variable, so this is a vector sum. We need to make the x and y components lead to the resultant vector that results in the right angle from above.
x component: vBcos(45°) = vcos(22.49°) we can find the magnitude, v, by substituting:
v = 3.0 m/s * cos(45°)/cos(22.49°) = 2.296 m/s (not surprising as you are heading partially upstream (against the current)) (There is no component of vC in the x direction or vCcos(270°) = 0)
y component: vBsin(45) - vC = vsin(22.49°), solve for vC (formally vC term is vCsin(270°))
vC = (3.0 m/s )sin(45) - (2.296 m/s)sin(22.49°) = 1.24 m/s
Please check all the arithmetic. Take care.