#include <bits/stdc++.h>
using namespace std;
int main() {
  double px, py, vx, vy;
  cin >> px >> py >> vx >> vy;
  double a, b, c, d;
  cin >> a >> b >> c >> d;
  double len = sqrt(vx * vx + vy * vy);
  double ux = vx / len, uy = vy / len;
  double dx = -vy, dy = vx;
  len = sqrt(dx * dx + dy * dy);
  dx /= len, dy /= len;
  printf("%.15lf %.15lf\n", px + b * ux, py + b * uy);
  printf("%.15lf %.15lf\n", px + a * 0.5 * dx, py + a * 0.5 * dy);
  double x = px + c * 0.5 * dx;
  double y = py + c * 0.5 * dy;
  printf("%.15lf %.15lf\n", x, y);
  x -= ux * d, y -= uy * d;
  printf("%.15lf %.15lf\n", x, y);
  x -= dx * c, y -= dy * c;
  printf("%.15lf %.15lf\n", x, y);
  printf("%.15lf %.15lf\n", px - dx * c * 0.5, py - dy * c * 0.5);
  printf("%.15lf %.15lf\n", px - dx * a * 0.5, py - dy * a * 0.5);
  return 0;
}
