when x is divided by 2, then Cov(X/2,Y)=1/2*Cov(X,Y)
Var(X/2)=1/4*Var(X).
Thus beta(slope estimate)=Cov(x/2,Y)/Var(X/2)=(1/2)*Cov(X,Y)/(1/4)*var(X)=2*{Cov(X.Y)/Var(x)}=2*beta of original regression function.
Similarly when both X and Y are divided by 2, then Cov(X/2,Y/2)=(1/4)*Cov(X,Y) and Var(X/2)=(1/4)*Var(X), Thus beta=Cov(X/2,Y/2)/Var(X/2)=Cov(X,Y)/Var(X)=original beta, hence it remains unchanged.
Similarly you can compute intercept terms too by using definitional formulas..!!!!!
"I don't ride side-saddle. I'm as straight as a submarine"