Problem involving angle derived from square and circle