How to apply transformations to line equation?

16.7k Views Asked by At

I use line equation of style $y=a*x +b$ , I want to apply transformations (rotation, translation in $x$ and $y$) on the line without changing the form by only changing the $a$ and $b$, I know for translation in why I would just add the the RHS, how to perform the rest of the operations?