Hi,

I'm very new to C++ and am trying to write a class to model affine transformations. I have written code for a 3x3 matrix and am now trying to write code for multiplying it by (x,y,z) where z=1.

My problem is I can't return the two values for the (x,y) matrix:

```
int IFS::eval(const int& x, const int&y)
{
int a = (matrix[0]*x + matrix[1]*y + matrix[2]);
int b = (matrix[3]*x + matrix[4]*y + matrix[5]);
return (a, b);
}
```

Thanks for any help!