Angle between line and plane: first, make a line perpendicular to the plane through any point on the line that is not on the plane, connect the vertical foot with the intersection point of the line and plane, and then calculate the angle between the center line of this triangle and the plane.
Angle between planes: make the intersection of planes, make a vertical line from a point on the first plane to the intersection, and make a vertical line to the intersection on the second plane, and then calculate the angle between the two vertical lines.