How to deal with second order time derivatives?

Looking through the forum (Approximation of the second order derivative) it seems as though P1 is inappropriate for second order and higher time derivatives. So how would I go about dealing with these? The examples only ever use first order.

Given these are very common in wave equations I find it hard to believe that FEM does not a have a way to deal with these, but on the off chance FEM is not suitable for second order time derivatives what is the suitable way to go around this?

The wave equation is a basic equation with second order derivative in times,
so you can see the example:

FreeFem++ users | Main >> WaveEquation