eolymp
bolt
Try our new interface for solving problems
Problems

Value of expression 3

Value of expression 3

Find the value of expression for the given values of the variables $x$ and $y$. $$ {2x + y \over x^2 - xy + 4y^2} + {2x^2 - xy + y^2 \over x + 4y} $$ \InputFile Values of the variables $x$ and $y$. \OutputFile Print the value of expression up to thousandths.
Time limit 1 second
Memory limit 128 MiB
Input example #1
1.000 -2.000
Output example #1
-1.143
Author Sergiy Matviychuk
Source ABC programming