export default function (a) { let x = a[0]; let y = a[1]; return (x * x) + (y * y); }