#include <bits/stdc++.h>
using namespace std;
const long double PI = acos(-1.0);
vector<pair<long double, long double> > v;
pair<long double, long double> rotate(pair<long double, long double> p,
                                      long double angle) {
  long double x = p.first;
  long double y = p.second;
  long double new_x = x * cos(angle) - y * sin(angle);
  long double new_y = x * sin(angle) + y * cos(angle);
  return make_pair(new_x, new_y);
}
int main() {
  cin.sync_with_stdio(false);
  long double px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  v.push_back(make_pair(0, 0 + b));
  v.push_back(make_pair(0 - a / 2.0, 0));
  v.push_back(make_pair(0 - c / 2.0, 0));
  v.push_back(make_pair(0 - c / 2.0, 0 - d));
  v.push_back(make_pair(0 + c / 2.0, 0 - d));
  v.push_back(make_pair(0 + c / 2.0, 0));
  v.push_back(make_pair(0 + a / 2.0, 0));
  long double angle = atan2l(vy, vx) - PI / 2.0;
  for (auto it : v) {
    pair<long double, long double> mlc = rotate(it, angle);
    cout << fixed << setprecision(10) << mlc.first + px << " "
         << mlc.second + py << '\n';
  }
  return 0;
}
