#include <bits/stdc++.h>
using namespace std;
double xx[10], yy[10];
int main() {
  double px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  double x = vx / sqrt(vx * vx + vy * vy);
  double y = vy / sqrt(vx * vx + vy * vy);
  xx[1] = b * x + px;
  yy[1] = b * y + py;
  xx[2] = px - (y * a / 2);
  yy[2] = py + (x * a / 2);
  xx[3] = px - (y * c / 2);
  yy[3] = py + (x * c / 2);
  xx[4] = xx[3] - (d * x);
  yy[4] = yy[3] - (d * y);
  xx[6] = px + (y * c / 2);
  yy[6] = py - (x * c / 2);
  xx[5] = xx[6] - (x * d);
  yy[5] = yy[6] - (d * y);
  xx[7] = px + (y * a / 2);
  yy[7] = py - (x * a / 2);
  cout.precision(20);
  for (int i = 1; i <= 7; i++) cout << xx[i] << " " << yy[i] << endl;
  return 0;
}
