If you wish to find the inverse of y=mx you must solve for x and then switch the labels for the varibles. (because the inverse of a function is really just switching of x and y coordinate pairs to y and x coordinates)
Simply substitute the point into the given equation; as there is one variable, you only need one point and so one is given. When done so, you shall get b=4