#include <bits/stdc++.h>
using namespace std;
struct point {
  double x, y;
};
int main() {
  point p;
  double a, b, c, d;
  point v;
  scanf("%lf%lf%lf%lf%lf%lf%lf%lf", &p.x, &p.y, &v.x, &v.y, &a, &b, &c, &d);
  double lenth = sqrt(v.x * v.x + v.y * v.y);
  v.x /= lenth;
  v.y /= lenth;
  a /= 2;
  c /= 2;
  point q;
  q.x = p.x + v.x * b;
  q.y = p.y + v.y * b;
  printf("%.10f %.10f\n", q.x, q.y);
  q.x = p.x - v.y * a;
  q.y = p.y + v.x * a;
  printf("%.10f %.10f\n", q.x, q.y);
  q.x = p.x - v.y * c;
  q.y = p.y + v.x * c;
  printf("%.10f %.10f\n", q.x, q.y);
  point w;
  w.x = q.x - v.x * d;
  w.y = q.y - v.y * d;
  printf("%.10f %.10f\n", w.x, w.y);
  q.x = w.x + v.y * c * 2;
  q.y = w.y - v.x * c * 2;
  printf("%.10f %.10f\n", q.x, q.y);
  q.x = p.x + v.y * c;
  q.y = p.y - v.x * c;
  printf("%.10f %.10f\n", q.x, q.y);
  q.x = p.x + v.y * a;
  q.y = p.y - v.x * a;
  printf("%.10f %.10f\n", q.x, q.y);
  return 0;
}
