If \(f(x)\) is continuous at \(x=3\), where
\[\begin{aligned} f(x) & =a x+1, & \text { for } x \leq 3 \\ & =b x+3 & , \text { for } x>3 \text { then } \end{aligned}\]