These are all separable first order differential equations.
a)
$\displaystyle{\frac{dy}{dx}=\frac{y}{\var{a1}x} \Rightarrow \int \frac{1}{y}\;dy = \frac{1}{\var{a1}}\int\frac{1}{x}\;dx \Rightarrow \ln(y)=\frac{1}{\var{a1}}\ln(x)+C}$
Exponentiation of both sides then gives $y=Ax^{1/\var{a1}}$ where we have renamed the constant of integration.
To find the particular solution satisfying $y=1$ at $x=2$, we have $\displaystyle{1=A \times 2^{1/\var{a1}} \Rightarrow A = \frac{1}{2^{1/\var{a1}}}}$
Hence the solution is $\displaystyle{y=\left(\frac{x}{2}\right)^{1/\var{a1}}}$
b)
$\displaystyle{\frac{dy}{dx}=-\var{a2}\frac{y}{x} \Rightarrow \int \frac{1}{y}\;dy = -\var{a2}\int\frac{1}{x}\;dx \Rightarrow \ln(y)=-\var{a2}\ln(x)+C}$
Exponentiation of both sides then gives $y=Ax^{-\var{a2}}$ where we have renamed the constant of integration.
The particular solution satisfying $y=1$ at $x=2$, gives $A = 2^{\var{a2}}$
Hence the solution is $\displaystyle{y=\left(\frac{2}{x}\right)^{\var{a2}}}$
c)
$\displaystyle{\frac{dy}{dx}=\var{a3}\frac{x}{y} \Rightarrow \int y\;dy = \var{a3}\int x\;dx \Rightarrow \frac{y^2}{2}=\var{a3}\frac{x^2}{2}+C\Rightarrow y^2=\var{a3}x^2+A}$
The particular solution satisfying $y=1$ at $x=2$, gives $A = \var{1-4*a3}$.
Hence the solution is $\displaystyle{y^2=\simplify[std]{{a3}x^2+{1-4*a3}}}$.
d)
$\displaystyle{\frac{dy}{dx}=-\var{a4}\frac{x}{y} \Rightarrow \int y\;dy = -\var{a4}\int x\;dx \Rightarrow y^2=-\var{a4}x^2+A}$
The particular solution satisfying $y=1$ at $x=2$, gives $A = \var{1+4*a4}$.
Hence the solution is $\displaystyle{y^2=\simplify[std]{{-a4}x^2+{1+4*a4}}}$.