My hint to you is to directly translate expressions using definitions.
To say "x varies directly with y" means x is proportional to y i.e. x=ky (or y=kx except written this way, the value of this "k" will be the reciprocal of the other k) for some constant k (where x and y are varying quantities); they are "directly" varying in that if the absolute value of one variable increases, so will that of the other
To say "x varies inversely with y" means x is reciprocally related to y i.e. x=k/y (y=k/x) for some constant k (x and y varying); they are "inversely" related in that if the absolute value of one variable increases, the absolute value of the other will decrease.
Often, simple problems about variation will first give you enough information to solve for the constant (fixed for ALL combos of x and y or whatever variables are of concern)and require that you use that information to then find the value of one of the variables for a provided value of the other variable.