Some analytical solutions to peridynamic beam equations