Răspuns:
1. #include <iostream>
using namespace std;
int x;
int main()
{
cin >> x;
cout << x + 10 << ' ' << (x - 25) / 2;
return 0;
}
2. #include <iostream>
using namespace std;
int x, y;
int main()
{
cin >> x >> y;
cout << x - y << ' ' << (x + y) * (x - y);
return 0;
}