Here's an explanation...
Let's find sin θ using the Pythagorean identity.
sin2θ + cos2θ = 1
sin2θ + (3/5)2 = 1
sin2θ = 1 - (3/5)2 sin is positive in Quad I , so take the positive sqrt of both sides.
sin θ = √[ 1 - (3/5)2 ]
sin θ = 4/5
And...
tan θ = sin θ / cos θ = (4/5) / (3/5) = 4/3