Consider the following summarized results of 18 pairs of data: SXX = 10, SYY = 160, SXY = -32. What is the value of test statistic for testing the following hypotheses? H0: ρ = 0 vs. H1: ρ ≠ 0

How can I find the test statistic from this info? I've broken it down into:

10=(Sum)X^2 - (Sum X)^2 / 18...etc. But I have no idea to find these initial values so I can work through the problem. Or am I totally off base?