#include <iostream> using namespace std; class Point {private:int x;int y; public:Point(int a,int b){x=a;y=b;}}; class Rectangle {friend class Point; private:Point A;Point B; public:Retangle(Point a,Point b):A(a),B(b){} Retangle (Rectangle &p) {A=p.A;B=p.B;} int getArea() {ret...