The challenge is to create the conditions to bring an Anglo-Japanese alliance into being in the 1880s. Give a target for the alliance, eg. Russia, the US, Germany. Give potential flashpoints, eg. the Samoan Civil War. Give a catalyst, eg. Spain being selling its possessions to Germany (but you would need to provide a compelling reason for why Spain would do that).