Determine the slope at point $A$ and the maximum deflection of the simply supported beam. The beam is made of material having a modulus of elasticity $E$. The moment of inertia of segments $A B$ and $C D$ of the beam is $I,$ and the moment of inertia of segment $B C$ is $2 I$.