#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(!cin.tie(0));
  double long px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  complex<double long> p[8];
  p[0] = complex<double long>(0, b);
  p[1] = complex<double long>(-a / 2, 0);
  p[2] = complex<double long>(-c / 2, 0);
  p[3] = complex<double long>(-c / 2, -d);
  for (int i = 4; i < 7; i++)
    p[i] = complex<double long>(-p[7 - i].real(), p[7 - i].imag());
  cout << setprecision(20) << fixed;
  for (int i = 0; i < 7; i++) {
    complex<double long> t = p[i] * complex<double long>(0, -1) *
                                 complex<double long>(vx, vy) /
                                 sqrt(vx * vx + vy * vy) +
                             complex<double long>(px, py);
    cout << t.real() << ' ' << t.imag() << '\n';
  }
}
