#include <bits/stdc++.h>
using namespace std;
int main() {
  double px, py, vx, vy, a, b, c, d;
  cin >> px >> py >> vx >> vy >> a >> b >> c >> d;
  double ang = atan2(vy, vx);
  cout.setf(ios::fixed);
  cout << setprecision(15);
  cout << cos(ang) * b + px << ' ' << sin(ang) * b + py << endl
       << -cos(ang - M_PI / 2) * (a / 2) + px << ' '
       << -sin(ang - M_PI / 2) * (a / 2) + py << endl
       << -cos(ang - M_PI / 2) * (c / 2) + px << ' '
       << -sin(ang - M_PI / 2) * (c / 2) + py << endl
       << -cos(ang) * d - cos(ang - M_PI / 2) * (c / 2) + px << ' '
       << -sin(ang) * d - sin(ang - M_PI / 2) * (c / 2) + py << endl
       << -cos(ang) * d + cos(ang - M_PI / 2) * (c / 2) + px << ' '
       << -sin(ang) * d + sin(ang - M_PI / 2) * (c / 2) + py << endl
       << +cos(ang - M_PI / 2) * (c / 2) + px << ' '
       << +sin(ang - M_PI / 2) * (c / 2) + py << endl
       << cos(ang - M_PI / 2) * (a / 2) + px << ' '
       << sin(ang - M_PI / 2) * (a / 2) + py << endl;
}
