public static void CC7_5(){
		Rectangle rec1 = new Rectangle(3, 4, 7, 1);
		Rectangle rec2 = new Rectangle(6, 7, 12, 1);
		if (rec1.getCenterX() == rec2.getCenterX() && 
				rec1.getCenterY() == rec2.getCenterY()){
			System.out.println ("The two rectangles have same center");
		}
		else if (rec1.getCenterX() == rec2.getCenterX()) {
			System.out.println ("The line is perpendicular to x-axis");
		}
		else {
			double slope = (rec2.getCenterY() - rec1.getCenterY())/
					(rec2.getCenterX() - rec1.getCenterX());
			double intercept = rec2.getCenterY() - slope * rec2.getCenterX();
			System.out.println ("The line can be described as: ");
			System.out.println ("y=" + slope + " * x + " + intercept);
		}
	}