can a function be increasing and decreasing
Yes. A function can increase and decrease.
Yes, if x is increasing as y is decreasing, the function varies inversely.