the curve y=ax+ b/x has a relative minimum at the point (1,4). find the values of a and b.

please help. I have no idea how to solve this.

y'=a-b/x^2=0

x^2=b/a
1=b/a

and y=ax+b/x
4=a*1+b/1
a=b
4=b+b b=2
a=2