7) swear i've seen this one before...
draw triangle ABC. let
and
.
draw line CD perpendicular to AB. Let CD = h. thus AD = h since angle A is arctan(1). also, DB = h/2 since angle B = arctan(2). by pythagoras' theorem then, AC = sqrt(h^2 + h^2) = sqrt(2) h. similarly, BC = sqrt(h^2 + (h/2)^2) = sqrt(5)h/2.
using the cosine rule, AB^2 = AC^2 + AB^2 - 2*AB*AC*2cos(angle C)
9h^2/4 = 2h^2 + 5h^2/4 - sqrt(10) h^2 cos(angle C)
9h^2 = 8h^2 + 5h^2 - 4sqrt(10) h^2 cos (angle C)
4sqrt(10) h^2 cos(angle C) = 4h^2
cos(angle C) = 1/sqrt(10)
draw a triangle relating to the above equation. it is clear that the unknown side of the triangle (opposite to angle C) is sqrt(10 - 1^2) = 3. hence tan(angle C) = 3/1 = 3, so arctan(3) = angle C.
since angle A + angle B + angle C = pi
arctan(1) + angle(2) + angle(3) = pi as required.