#include <bits/stdc++.h>
using namespace std;
long long vx, vy;
long double sinx() {
  return (long double)vy / sqrt((long double)(vx * vx + vy * vy));
}
long double cosx() {
  return (long double)vx / sqrt((long double)(vx * vx + vy * vy));
}
int main() {
  long long px, py, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  long double Ax = px + b * cosx();
  long double Ay = py + b * sinx();
  long double Bx = px - a * sinx() / 2;
  long double By = py + a * cosx() / 2;
  long double Gx = px + a * sinx() / 2;
  long double Gy = py - a * cosx() / 2;
  long double Cx = px - c * sinx() / 2;
  long double Cy = py + c * cosx() / 2;
  long double Fx = px + c * sinx() / 2;
  long double Fy = py - c * cosx() / 2;
  long double Hx = px - d * cosx();
  long double Hy = py - d * sinx();
  long double Dx = Hx - c * sinx() / 2;
  long double Dy = Hy + c * cosx() / 2;
  long double Ex = Hx + c * sinx() / 2;
  long double Ey = Hy - c * cosx() / 2;
  cout << setprecision(20) << Ax << " " << setprecision(20) << Ay << endl;
  cout << setprecision(20) << Bx << " " << setprecision(20) << By << endl;
  cout << setprecision(20) << Cx << " " << setprecision(20) << Cy << endl;
  cout << setprecision(20) << Dx << " " << setprecision(20) << Dy << endl;
  cout << setprecision(20) << Ex << " " << setprecision(20) << Ey << endl;
  cout << setprecision(20) << Fx << " " << setprecision(20) << Fy << endl;
  cout << setprecision(20) << Gx << " " << setprecision(20) << Gy << endl;
  return 0;
}
