Answer
The equilibrium will favor the products. The reaction is shown in the picture.
Work Step by Step
$^-OCH_3$ can accept a proton from HCN. So the following reaction will take place. Stronger acid and base are on the reactant side. The equilibrium will favor the weaker side and thus, products will be favored.