as well as addition,subtraction,division and multiplication.Sally invents the operation Q. when you see Q between two numbers,you double the sum of their squares. The value of 5Q12 would be ?

2(5^2+12^2) = 2*169 = 338