#include <bits/stdc++.h>
using namespace std;
double px, py, vx, vy, a, b, c, d;
int main() {
  scanf("%lf %lf %lf %lf %lf %lf %lf %lf", &px, &py, &vx, &vy, &a, &b, &c, &d);
  if (vx != 0 || vy != 0) {
    double tmp = sqrt(pow(vx, 2) + pow(vy, 2));
    vx /= tmp;
    vy /= tmp;
  }
  printf(
      "%0.12f %0.12f\n%0.12f %0.12f\n%0.12f %0.12f\n%0.12f %0.12f\n%0.12f "
      "%0.12f\n%0.12f %0.12f\n%0.12f %0.12f\n",
      px + vx * b, py + vy * b, px - vy * a / 2, py + vx * a / 2,
      px - vy * c / 2, py + vx * c / 2, px - vy * c / 2 - vx * d,
      py + vx * c / 2 - vy * d, px + vy * c / 2 - vx * d,
      py - vx * c / 2 - vy * d, px + vy * c / 2, py - vx * c / 2,
      px + vy * a / 2, py - vx * a / 2);
  return 0;
}
