#include <bits/stdc++.h>
using namespace std;
int main() {
  long double px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  vector<long double> x, y;
  x.push_back(px);
  y.push_back(py + b);
  x.push_back(px - a / 2.);
  y.push_back(py);
  x.push_back(px - c / 2);
  y.push_back(py);
  x.push_back(px - c / 2);
  y.push_back(py - d);
  x.push_back(px + c / 2);
  y.push_back(py - d);
  x.push_back(px + c / 2);
  y.push_back(py);
  x.push_back(px + a / 2);
  y.push_back(py);
  long double rst = sqrt(vx * vx + vy * vy);
  vx /= rst;
  vy /= rst;
  long double mcos = vy;
  long double msin = -vx;
  for (int i = 0; i < x.size(); ++i) {
    long double nx = (x[i] - px) * mcos - (y[i] - py) * msin + px;
    long double ny = (x[i] - px) * msin + (y[i] - py) * mcos + py;
    printf("%.15Lf %.15Lf\n", nx, ny);
  }
  return 0;
}
