In this example, g(t) = cos at and from the Table of Laplace Transforms, we have:
G(s) = cos at = s / (s2 + a2)
Now, applying the first rule above, we have: