1. If the sum of interior angles of a polygon is greater than triple of the sum of its exterior angle by 900degree, find the number of sides of the polygon
2. Three years ago, A's age is twice that of B. A's present age is 18 years less than 3 times the present age of B. Let the present age of A and B be x and y respectively, find the present ages of A and B.