#include <iostream>
#include <cmath>
using namespace std;
int main()
{
float x, w;
cout << "\nValor de x: "; cin >> x;
cout << "Valor de w: "; cin >> w;
cout << "\ny = "
<< (6 * pow( x, 2 ) + 8 * pow( x, 3 ) - 2 * w) / sqrt( x + w )
<< endl;
return 0;
}