#include <bits/stdc++.h>
using namespace std;
int main() {
  double px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  double len = pow(vx * vx + vy * vy, 0.5);
  vx /= len;
  vy /= len;
  pair<double, double> A, B, C, D, E, F, G;
  cout.precision(10);
  A.first = px + vx * b;
  A.second = py + vy * b;
  cout << fixed << A.first << " " << A.second << endl;
  B.first = px + (-vy) * a / 2;
  B.second = py + vx * a / 2;
  cout << B.first << " " << B.second << endl;
  C.first = px + (-vy) * c / 2;
  C.second = py + vx * c / 2;
  cout << C.first << " " << C.second << endl;
  D.first = C.first + (-vx) * d;
  D.second = C.second + (-vy) * d;
  cout << D.first << " " << D.second << endl;
  E.first = D.first + vy * c;
  E.second = D.second + (-vx) * c;
  cout << E.first << " " << E.second << endl;
  F.first = E.first + vx * d;
  F.second = E.second + vy * d;
  cout << F.first << " " << F.second << endl;
  G.first = px + vy * a / 2;
  G.second = py + (-vx) * a / 2;
  cout << G.first << " " << G.second;
  return 0;
}
