Text this: Extremals for a weighted Morrey's inequality and a weighted $ p $-Laplace equation