A machine component of square cross- section is subjected to a direct tensile of 20 kn and a shear load of 10 kN. Considering the maximum normal stress theory and distortion energy theory of failure calculate the dimension of the component. Take factor of safety as 2.1.