#include <bits/stdc++.h>
using namespace std;
using ld = long double;
const ld PI = 3.14159265358979323846264338328L;
struct point {
  ld x, y;
};
void EXEC() {
  cout.setf(ios::fixed);
  cout.precision(15);
  ld px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  vector<point> s = {
      {0, b},         {-a / 2.0L, 0}, {-c / 2.0L, 0}, {-c / 2.0L, -d},
      {c / 2.0L, -d}, {c / 2.0L, 0},  {a / 2.0L, 0},
  };
  ld t = atan2(vy, vx) - PI / 2.0L;
  for (auto &i : s) {
    ld x = cos(t) * i.x - sin(t) * i.y;
    ld y = cos(t) * i.y + sin(t) * i.x;
    cout << x + px << ' ' << y + py << endl;
  }
}
int main() {
  EXEC();
  return 0;
}
