#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e9 + 7;
const int N = 2e5 + 10;
int main() {
  vector<pair<double, double>> vp;
  double px, py, vx, vy;
  double a, b, c, d;
  cin >> px >> py >> vx >> vy;
  cin >> a >> b >> c >> d;
  vp.emplace_back(0, b);
  vp.emplace_back(-a / 2, 0);
  vp.emplace_back(-c / 2, 0);
  vp.emplace_back(-c / 2, -d);
  vp.emplace_back(c / 2, -d);
  vp.emplace_back(c / 2, 0);
  vp.emplace_back(a / 2, 0);
  double alpha = atan2(vy, vx);
  alpha -= acos(0.0);
  for (auto& p : vp) {
    double x, y;
    tie(x, y) = p;
    tie(x, y) = make_pair(x * cos(alpha) - y * sin(alpha),
                          x * sin(alpha) + y * cos(alpha));
    printf("%.15f %.15f\n", x + px, y + py);
  }
  return 0;
}
